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
85 def coalescable?(*)
86   return super unless @options.proxy
87 
88   false
89 end
match? (uri, options)
[show source]
   # File lib/httpx/plugins/proxy/ssh.rb
78 def match?(uri, options)
79   return super unless @options.proxy
80 
81   super && @options.proxy == options.proxy
82 end