module HTTPX::Plugins::Proxy::SSH::ConnectionMethods

  1. lib/httpx/plugins/proxy/ssh.rb

Methods

Public Instance

  1. coalescable?
  2. match?

Public Instance methods

coalescable? (*)

should not coalesce connections here, as the IP is the IP of the proxy

[show source]
   # File lib/httpx/plugins/proxy/ssh.rb
81 def coalescable?(*)
82   return super unless @options.proxy
83 
84   false
85 end
match? (uri, options)
[show source]
   # File lib/httpx/plugins/proxy/ssh.rb
74 def match?(uri, options)
75   return super unless @options.proxy
76 
77   super && @options.proxy == options.proxy
78 end