class HTTPX::Plugins::Proxy::Socks5::SocksParser

  1. lib/httpx/plugins/proxy/socks5.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/socks5.rb
119 def initialize(buffer, options)
120   @buffer = buffer
121   @options = Options.new(options)
122 end

Public Instance methods

<< (packet)
[show source]
    # File lib/httpx/plugins/proxy/socks5.rb
132 def <<(packet)
133   emit(:packet, packet)
134 end
close ()
[show source]
    # File lib/httpx/plugins/proxy/socks5.rb
124 def close; end
consume (*)
[show source]
    # File lib/httpx/plugins/proxy/socks5.rb
126 def consume(*); end
empty? ()
[show source]
    # File lib/httpx/plugins/proxy/socks5.rb
128 def empty?
129   true
130 end