| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Socks5
Documentation
socksVersion :: Word8 Source #
data AuthMethod Source #
Constructors
| NoAuth | |
| GSSAPI | |
| Login | |
| Reserved | |
| NotAllowed |
Instances
| Read AuthMethod Source # | |
Defined in Socks5 Methods readsPrec :: Int -> ReadS AuthMethod # readList :: ReadS [AuthMethod] # readPrec :: ReadPrec AuthMethod # readListPrec :: ReadPrec [AuthMethod] # | |
| Show AuthMethod Source # | |
Defined in Socks5 Methods showsPrec :: Int -> AuthMethod -> ShowS # show :: AuthMethod -> String # showList :: [AuthMethod] -> ShowS # | |
| Binary AuthMethod Source # | |
Defined in Socks5 | |
data RequestAuth Source #
Constructors
| RequestAuth | |
Fields
| |
Instances
| Read RequestAuth Source # | |
Defined in Socks5 Methods readsPrec :: Int -> ReadS RequestAuth # readList :: ReadS [RequestAuth] # readPrec :: ReadPrec RequestAuth # readListPrec :: ReadPrec [RequestAuth] # | |
| Show RequestAuth Source # | |
Defined in Socks5 Methods showsPrec :: Int -> RequestAuth -> ShowS # show :: RequestAuth -> String # showList :: [RequestAuth] -> ShowS # | |
| Binary RequestAuth Source # | |
Defined in Socks5 | |
data ResponseAuth Source #
Constructors
| ResponseAuth | |
Fields
| |
Instances
| Read ResponseAuth Source # | |
Defined in Socks5 Methods readsPrec :: Int -> ReadS ResponseAuth # readList :: ReadS [ResponseAuth] # | |
| Show ResponseAuth Source # | |
Defined in Socks5 Methods showsPrec :: Int -> ResponseAuth -> ShowS # show :: ResponseAuth -> String # showList :: [ResponseAuth] -> ShowS # | |
| Binary ResponseAuth Source # | |
Defined in Socks5 | |
Constructors
| Connect | |
| Bind | |
| UdpAssociate |
Instances
| Bounded Command Source # | |
| Enum Command Source # | |
| Show Command Source # | |
| Binary Command Source # | |
| Eq Command Source # | |
toHex :: LByteString -> String Source #
Constructors
| Response | |
Fields
| |
Constructors
| SUCCEEDED | |
| GENERAL_FAILURE | |
| NOT_ALLOWED | |
| NO_NETWORK | |
| HOST_UNREACHABLE | |
| CONNECTION_REFUSED | |
| TTL_EXPIRED | |
| UNSUPPORTED_COMMAND | |
| UNSUPPORTED_ADDRESS_TYPE | |
| UNASSIGNED |
Instances
| Bounded RetCode Source # | |
| Enum RetCode Source # | |
| Show RetCode Source # | |
| Binary RetCode Source # | |
| Eq RetCode Source # | |
data ServerSettings Source #
Constructors
| ServerSettings | |
Fields
| |
Instances
| Show ServerSettings Source # | |
Defined in Socks5 Methods showsPrec :: Int -> ServerSettings -> ShowS # show :: ServerSettings -> String # showList :: [ServerSettings] -> ShowS # | |