HORIZON HASKELLDocslts/ghc-9.10.x248f8f02026-10-05Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05

Modulecrypton-socks-0.6.2Haskell2010

Network.Socks5.Types

  • 9 types
datadata SocksVersion
#

Type representing SOCKS protocol versions.

Constructors

  • SocksVer5

    SOCKS Protocol Version 5. The only version implemented by the library.

Instances3Eq, Ord, Show
datadata SocksCommand
#

Type representing commands that can be sent or received under the SOCKS protocol.

Constructors

Instances4Enum, Eq, Ord, Show
datadata SocksMethod
#

Type representing authentication methods available under the SOCKS protocol.

Only SocksMethodNone is effectively implemented, but other values are enumerated for completeness.

Constructors

Instances4Enum, Eq, Ord, Show
datadata SocksHostAddress
#

Type representing host addresses under the SOCKS protocol.

Constructors

Instances3Eq, Ord, Show
datadata SocksReply
#

Type representing replies under the SOCKS protocol.

Constructors

Instances5Enum, Eq, Data, Ord, Show
  • Enum SocksReplyDefined in crypton-socks-0.6.2 · Network.Socks5.Types
  • Eq SocksReplyDefined in crypton-socks-0.6.2 · Network.Socks5.Types
  • Data SocksReplyDefined in crypton-socks-0.6.2 · Network.Socks5.Types
  • Ord SocksReplyDefined in crypton-socks-0.6.2 · Network.Socks5.Types
  • Show SocksReplyDefined in crypton-socks-0.6.2 · Network.Socks5.Types
datadata SocksError
#

Type representing SOCKS errors that can be part of a SOCKS reply.

Constructors

Instances6Enum, Eq, Data, Ord, Show, Exception
typetype SocksFQDN = ByteString
#

Type synonym representing fully-qualified domain names (FQDN). The SOCKS Protocol Version 5 does not specify an encoding for a FQDN other than there is no terminating NUL octet (byte).

This library's API assumes that FQDN values comprise only ASCII characters. Domain names that include other Unicode code points should be Punycode encoded.