class HTTPX::Plugins::Proxy::Socks4::SocksParser

  1. lib/httpx/plugins/proxy/socks4.rb
Superclass: Object

Methods

Public Class

  1. new

Public Instance

  1. <<
  2. close
  3. consume
  4. empty?

Included modules

  1. HTTPX::Callbacks

Public Class methods

new(buffer, options)
[show source]
   # File lib/httpx/plugins/proxy/socks4.rb
90 def initialize(buffer, options)
91   @buffer = buffer
92   @options = options
93 end

Public Instance methods

<<(packet)
[show source]
    # File lib/httpx/plugins/proxy/socks4.rb
103 def <<(packet)
104   emit(:packet, packet)
105 end
close()
[show source]
   # File lib/httpx/plugins/proxy/socks4.rb
95 def close; end
consume(*)
[show source]
   # File lib/httpx/plugins/proxy/socks4.rb
97 def consume(*); end
empty?()
[show source]
    # File lib/httpx/plugins/proxy/socks4.rb
 99 def empty?
100   true
101 end