socks library

SOCKS sockets and HTTP connections, without Flutter's ConnectionState name.

Classes

SocksConnection
SocksCredentials
SOCKSSocket
A SOCKS5 socket.

Enums

SocksConnectError
SocksReplyCode
SOCKS5 reply codes as defined in RFC 1928 section 6.
SocksSocketState
Connection state of a SOCKSSocket.

Exceptions / Errors

SocksCancelledException
Thrown when a connection is cancelled via SOCKSSocket.cancel.
SocksConnectException
SocksConnectionException
Thrown on transport-level connection errors.
SocksException
Base exception for SOCKS5 errors. Sealed; catch subtypes or Exception.
SocksHandshakeException
Thrown when the SOCKS5 greeting/authentication handshake fails.
SocksRequestException
Thrown when a SOCKS5 connect request is rejected.