struct

SOCKS::Frames

Inherits Struct < Value < Object

Constants

Base64AuthenticationMapping = Set {['+', '!'], ['/', '%'], ['=', '#'], ['.', '$'], ['_', '&']}

Constructors

Class methods

decode_sec_websocket_protocol_authorization!(authorization : String) : String
Source
encode_sec_websocket_protocol_authorization(user_name : String, password : String) : String
Source
encode_sec_websocket_protocol_authorization(value : String) : String
Source
read_address!(io : IO) : AddressFlag
Source
read_authentication!(io : IO) : AuthenticationFlag
Source
read_authentication_choice!(io : IO) : AuthenticationChoiceFlag
Source
read_command!(io : IO) : CommandFlag
Source
read_destination_address!(io : IO, address_type : AddressFlag) : Tuple(Socket::IPAddress | Nil, Address)
Source
read_domain!(io : IO) : Address
Source
read_fragment_id!(io : IO, exception : Exception | Nil = nil) : UInt8
Source
read_ip46!(io : IO) : Ip46Flag
Source
read_ip_address!(io : IO, address_flag : AddressFlag) : Socket::IPAddress
Source
read_modified_ip46!(io : IO) : ModifiedIp46Flag
Source
read_optional_size!(io : IO, exception : Exception | Nil = nil) : UInt8
Source
read_password!(io : IO) : String
Source
read_permission!(io : IO) : PermissionFlag
Source
read_reserved!(io : IO) : ReservedFlag
Source
read_status!(io : IO) : StatusFlag
Source
read_username!(io : IO) : String
Source
read_version!(io : IO) : VersionFlag
Source
strict_check_version!(struct_version_flag : VersionFlag, version_flag : VersionFlag) : Bool
Source
strict_read_version!(io : IO, version_flag : VersionFlag) : VersionFlag
Source

Instance methods

initialize
Source

Nested types