lib/httpx/plugins/proxy/socks5.rb in httpx-0.14.5 vs lib/httpx/plugins/proxy/socks5.rb in httpx-0.15.0
- old
+ new
@@ -131,9 +131,13 @@
def initialize(buffer, options)
@buffer = buffer
@options = Options.new(options)
end
+ def timeout
+ @options.timeout[:operation_timeout]
+ end
+
def close; end
def consume(*); end
def empty?