lib/httpx/plugins/proxy/socks5.rb in httpx-0.24.7 vs lib/httpx/plugins/proxy/socks5.rb in httpx-1.0.0
- old
+ new
@@ -18,11 +18,11 @@
Error = Socks5Error
class << self
def load_dependencies(*)
- require_relative "../authentication/socks5"
+ require_relative "../auth/socks5"
end
def extra_options(options)
options.merge(supported_proxy_protocols: options.supported_proxy_protocols + %w[socks5])
end
@@ -140,13 +140,9 @@
include Callbacks
def initialize(buffer, options)
@buffer = buffer
@options = Options.new(options)
- end
-
- def timeout
- @options.timeout[:operation_timeout]
end
def close; end
def consume(*); end