module HTTPX::Plugins::Proxy::SSH

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

Methods

Public Class

  1. extra_options
  2. load_dependencies

Public Class methods

extra_options (options)
[show source]
   # File lib/httpx/plugins/proxy/ssh.rb
13 def self.extra_options(options)
14   Class.new(options.class) do
15     def_option(:proxy) do |pr|
16       Hash[pr]
17     end
18   end.new(options)
19 end
load_dependencies (*)
[show source]
   # File lib/httpx/plugins/proxy/ssh.rb
 9 def self.load_dependencies(*)
10   require "net/ssh/gateway"
11 end