struct SOCKS::Frames::Establish
- SOCKS::Frames::Establish
- SOCKS::Frames
- Struct
- Value
- Object
Defined in:
socks/frames/establish.crConstructors
- .from_io(io : IO, ar_type : ARType, version_flag : VersionFlag = VersionFlag::V5) : Establish
- .new(version : VersionFlag, arType : ARType)
- .read_ask(io : IO, version_flag : VersionFlag = VersionFlag::V5) : Establish
- .read_reply(io : IO, version_flag : VersionFlag = VersionFlag::V5) : Establish
Instance Method Summary
- #addressType : AddressFlag | Nil
- #addressType=(addressType : AddressFlag | Nil)
- #arType : ARType
- #arType=(arType : ARType)
- #commandType : CommandFlag | Nil
- #commandType=(commandType : CommandFlag | Nil)
- #destinationAddress : Address | Nil
- #destinationAddress=(destinationAddress : Address | Nil)
- #destinationIpAddress : Socket::IPAddress | Nil
- #destinationIpAddress=(destinationIpAddress : Socket::IPAddress | Nil)
- #get_destination_address : Socket::IPAddress | Address
- #statusType : StatusFlag | Nil
- #statusType=(statusType : StatusFlag | Nil)
- #successed : Bool | Nil
- #successed=(successed : Bool | Nil)
- #to_io(io : IO, ar_type : ARType, version_flag : VersionFlag = VersionFlag::V5) : IO
- #to_io(io : IO)
- #version : VersionFlag
- #version=(version : VersionFlag)
- #write_ask(io : IO, version_flag : VersionFlag = VersionFlag::V5)
- #write_reply(io : IO, version_flag : VersionFlag = VersionFlag::V5)
Instance methods inherited from struct SOCKS::Frames
initialize
initialize
Constructor methods inherited from struct SOCKS::Frames
new
new
Class methods inherited from struct SOCKS::Frames
decode_sec_websocket_protocol_authorization!(authorization : String) : String
decode_sec_websocket_protocol_authorization!,
encode_sec_websocket_protocol_authorization(user_name : String, password : String) : Stringencode_sec_websocket_protocol_authorization(value : String) : String encode_sec_websocket_protocol_authorization, read_address!(io : IO) : AddressFlag read_address!, read_authentication!(io : IO) : AuthenticationFlag read_authentication!, read_authentication_choice!(io : IO) : AuthenticationChoiceFlag read_authentication_choice!, read_command!(io : IO) : CommandFlag read_command!, read_destination_address!(io : IO, address_type : AddressFlag) : Tuple(Socket::IPAddress | Nil, Address) read_destination_address!, read_domain!(io : IO) : Address read_domain!, read_fragment_id!(io : IO, exception : Exception | Nil = nil) : UInt8 read_fragment_id!, read_ip_address!(io : IO, address_flag : AddressFlag) : Socket::IPAddress read_ip_address!, read_optional_size!(io : IO, exception : Exception | Nil = nil) : UInt8 read_optional_size!, read_password!(io : IO) : String read_password!, read_permission!(io : IO) : PermissionFlag read_permission!, read_reserved!(io : IO) : ReservedFlag read_reserved!, read_status!(io : IO) : StatusFlag read_status!, read_username!(io : IO) : String read_username!, read_version!(io : IO) : VersionFlag read_version!, strict_check_version!(struct_version_flag : VersionFlag, version_flag : VersionFlag) : Bool strict_check_version!, strict_read_version!(io : IO, version_flag : VersionFlag) : VersionFlag strict_read_version!
Constructor Detail
def self.from_io(io : IO, ar_type : ARType, version_flag : VersionFlag = VersionFlag::V5) : Establish
#