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
74 def initialize(buffer, options)
75   @buffer = buffer
76   @options = Options.new(options)
77 end

Public Instance methods

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