Portability | unknown |
---|---|
Stability | experimental |
Maintainer | Vincent Hanquez <[email protected]> |
Safe Haskell | None |
Network.Socks5.Types
Description
- data SocksVersion = SocksVer5
- data SocksCommand
- data SocksMethod
- data SocksHostAddress
- = SocksAddrIPV4 !HostAddress
- | SocksAddrDomainName !ByteString
- | SocksAddrIPV6 !HostAddress6
- data SocksAddress = SocksAddress !SocksHostAddress !PortNumber
- data SocksReply
- data SocksVersionNotSupported = SocksVersionNotSupported
- data SocksError
Documentation
data SocksMethod Source
Authentication methods available on the SOCKS protocol.
Only SocksMethodNone is effectively implemented, but other value are enumerated for completeness.
Constructors
SocksMethodNone | |
SocksMethodGSSAPI | |
SocksMethodUsernamePassword | |
SocksMethodOther !Word8 | |
SocksMethodNotAcceptable |
Instances
data SocksHostAddress Source
A Host address on the SOCKS protocol.
Constructors
SocksAddrIPV4 !HostAddress | |
SocksAddrDomainName !ByteString | |
SocksAddrIPV6 !HostAddress6 |
data SocksAddress Source
Describe a Socket address on the SOCKS protocol
Constructors
SocksAddress !SocksHostAddress !PortNumber |
Instances
data SocksReply Source
Type of reply on the SOCKS protocol
Constructors
SocksReplySuccess | |
SocksReplyError SocksError |
data SocksVersionNotSupported Source
Exception returned when using a SOCKS version that is not supported.
This package only implement version 5.
Constructors
SocksVersionNotSupported |
data SocksError Source
SOCKS error that can be received or sent