SOCKS::Server
Inherits Reference < Object
Constructors
new(io : Socket::Server, dnsResolver : DNS::Resolver | Nil, options : Options = Options.new, udpGateway : UdpGateway | Nil = nil)
SourceInstance methods
authentication
Sourceauthentication=(value : Frames::AuthenticationFlag)
Sourceclient_timeout
Sourceclient_timeout=(value : TimeOut)
SourcednsResolver
Sourceestablish!(session : Session, start_immediately : Bool = true, sync_create_outbound_socket : Bool = true) : Tuple(Frames::Establish, Frames::CommandFlag, Address | Socket::IPAddress)
Sourceestablish!(session : Session, from_establish : Frames::Establish, sync_create_outbound_socket : Bool = true) : Bool
Sourcehandshake!(session : Session) : Bool
Sourceio
Sourcelocal_address
Sourceon_auth
Sourceon_auth=(value : Proc(String | Nil, String | Nil, Frames::PermissionFlag))
Sourceon_wrapper_auth
Sourceon_wrapper_auth=(value : Proc(String | Nil, String | Nil, Frames::PermissionFlag))
Sourceoptions
Sourceoutbound_timeout
Sourceoutbound_timeout=(value : TimeOut)
Sourceremote_address
Sourcesend_establish_frame(session : Session, command_flag : Frames::CommandFlag | Nil, status_flag : Frames::StatusFlag, destination_ip_address : Nil, forward_ip_address : Socket::IPAddress | Nil = nil) : Bool
SourceudpGateway
Sourceunderly_accept?
Sourceversion
Sourceversion=(value : Frames::VersionFlag)
Sourcewrapper_authorization
Sourcewrapper_authorization=(value : Frames::WebSocketAuthorizationFlag)
Source