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

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

Instance Method Summary collapse

Instance Method Details

#interestsObject



26
27
28
29
30
31
32
# File 'lib/httpx/plugins/proxy/socks4.rb', line 26

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

  super
end