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. Callbacks

Public Class methods

new (buffer, options)
[show source]
   # File lib/httpx/plugins/proxy/socks4.rb
75 def initialize(buffer, options)
76   @buffer = buffer
77   @options = Options.new(options)
78 end

Public Instance methods

<< (packet)
[show source]
   # File lib/httpx/plugins/proxy/socks4.rb
88 def <<(packet)
89   emit(:packet, packet)
90 end
close ()
[show source]
   # File lib/httpx/plugins/proxy/socks4.rb
80 def close; end
consume (*)
[show source]
   # File lib/httpx/plugins/proxy/socks4.rb
82 def consume(*); end
empty? ()
[show source]
   # File lib/httpx/plugins/proxy/socks4.rb
84 def empty?
85   true
86 end