Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
socksVersion :: Word8 Source #
data AuthMethod Source #
Instances
Read AuthMethod Source # | |
Defined in Socks5 readsPrec :: Int -> ReadS AuthMethod # readList :: ReadS [AuthMethod] # readPrec :: ReadPrec AuthMethod # readListPrec :: ReadPrec [AuthMethod] # | |
Show AuthMethod Source # | |
Defined in Socks5 showsPrec :: Int -> AuthMethod -> ShowS # show :: AuthMethod -> String # showList :: [AuthMethod] -> ShowS # | |
Binary AuthMethod Source # | |
Defined in Socks5 |
data RequestAuth Source #
RequestAuth | |
|
Instances
Read RequestAuth Source # | |
Defined in Socks5 readsPrec :: Int -> ReadS RequestAuth # readList :: ReadS [RequestAuth] # readPrec :: ReadPrec RequestAuth # readListPrec :: ReadPrec [RequestAuth] # | |
Show RequestAuth Source # | |
Defined in Socks5 showsPrec :: Int -> RequestAuth -> ShowS # show :: RequestAuth -> String # showList :: [RequestAuth] -> ShowS # | |
Binary RequestAuth Source # | |
Defined in Socks5 |
data ResponseAuth Source #
ResponseAuth | |
|
Instances
Read ResponseAuth Source # | |
Defined in Socks5 readsPrec :: Int -> ReadS ResponseAuth # readList :: ReadS [ResponseAuth] # | |
Show ResponseAuth Source # | |
Defined in Socks5 showsPrec :: Int -> ResponseAuth -> ShowS # show :: ResponseAuth -> String # showList :: [ResponseAuth] -> ShowS # | |
Binary ResponseAuth Source # | |
Defined in Socks5 |
Instances
Bounded Command Source # | |
Enum Command Source # | |
Eq Command Source # | |
Show Command Source # | |
Binary Command Source # | |
toHex :: LByteString -> String Source #
Response | |
|
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 # | |
Eq RetCode Source # | |
Show RetCode Source # | |
Binary RetCode Source # | |
data ServerSettings Source #
Instances
Show ServerSettings Source # | |
Defined in Socks5 showsPrec :: Int -> ServerSettings -> ShowS # show :: ServerSettings -> String # showList :: [ServerSettings] -> ShowS # |