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

Public Class methods

new(buffer, options)
[show source]
    # File lib/httpx/plugins/proxy/socks5.rb
142 def initialize(buffer, options)
143   @buffer = buffer
144   @options = Options.new(options)
145 end

Public Instance methods

<<(packet)
[show source]
    # File lib/httpx/plugins/proxy/socks5.rb
155 def <<(packet)
156   emit(:packet, packet)
157 end
close()
[show source]
    # File lib/httpx/plugins/proxy/socks5.rb
147 def close; end
consume(*)
[show source]
    # File lib/httpx/plugins/proxy/socks5.rb
149 def consume(*); end
empty?()
[show source]
    # File lib/httpx/plugins/proxy/socks5.rb
151 def empty?
152   true
153 end