HORIZON HASKELLDocslts/ghc-10.0.x8fef28d2026-11-02Search packagesCtrl K
Theme: |

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 8fef28d · 2026-11-02

Modulecrypton-socks-0.6.2Haskell2010

Network.Socks5.Types

Synopsis
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

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

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.