struct

SOCKS::Frames::Negotiate

Inherits SOCKS::Frames < Struct < Value < Object

Constructors

from_io(io : IO, ar_type : ARType, version_flag : VersionFlag = VersionFlag::V5) : Negotiate
Source
new(version : VersionFlag, arType : ARType)
Source
read_ask(io : IO, version_flag : VersionFlag = VersionFlag::V5) : Negotiate
Source
read_reply(io : IO, version_flag : VersionFlag = VersionFlag::V5) : Negotiate
Source

Instance methods

acceptedMethod
Source
acceptedMethod=(acceptedMethod : AuthenticationFlag | Nil)
Source
arType
Source
arType=(arType : ARType)
Source
authenticateFrame
Source
authenticateFrame=(authenticateFrame : Authenticate | Nil)
Source
methodCount
Source
methodCount=(methodCount : UInt8 | Nil)
Source
methods
Source
methods=(methods : Set(AuthenticationFlag) | Nil)
Source
to_io(io : IO, ar_type : ARType, version_flag : VersionFlag = VersionFlag::V5) : IO
Source
to_io(io : IO)
Source
version
Source
version=(version : VersionFlag)
Source
write_ask(io : IO, version_flag : VersionFlag = VersionFlag::V5)
Source
write_reply(io : IO, version_flag : VersionFlag = VersionFlag::V5)
Source