class Socks::Request

Defined in:

socks/request.cr

Constant Summary

AssociateCommand = 3_u8
BindCommand = 2_u8
ConnectCommand = 1_u8
FQDN = 3
IPV4 = 1
IPV6 = 4

Constructors

Instance Method Summary

Constructor Detail

def self.new(client : TCPSocket, auth : String | Nil = nil) #

[View source]

Instance Method Detail

def handle #

[View source]
def handle_associate #

[View source]
def handle_bind #

[View source]
def handle_connect #

[View source]
def read_addr_spec #

[View source]
def send_reply(resp : ResponseCode) #

[View source]