License | BSD-style |
---|---|
Maintainer | Vincent Hanquez <vincent@snarc.org> |
Stability | experimental |
Portability | unknown |
Safe Haskell | None |
Language | Haskell98 |
- 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 SocksCommand
Command that can be send and receive on the SOCKS protocol
data SocksMethod
Authentication methods available on the SOCKS protocol.
Only SocksMethodNone is effectively implemented, but other value are enumerated for completeness.
data SocksHostAddress
A Host address on the SOCKS protocol.
SocksAddrIPV4 !HostAddress | |
SocksAddrDomainName !ByteString | |
SocksAddrIPV6 !HostAddress6 |
data SocksAddress
Describe a Socket address on the SOCKS protocol
SocksAddress !SocksHostAddress !PortNumber |
data SocksReply
Type of reply on the SOCKS protocol
Exception returned when using a SOCKS version that is not supported.
This package only implement version 5.
data SocksError
SOCKS error that can be received or sent