Module: HTTPX::Plugins::Proxy::Socks4::ConnectionMethods

Defined in:
lib/httpx/plugins/proxy/socks4.rb

Instance Method Summary collapse

Instance Method Details

#interestsObject



20
21
22
23
24
25
26
# File 'lib/httpx/plugins/proxy/socks4.rb', line 20

def interests
  if @state == :connecting
    return @write_buffer.empty? ? :r : :w
  end

  super
end