Safe Haskell | Safe-Infered |
---|
- data Response = Response {
- protocol :: Protocol
- service :: ByteString
- response :: [ByteString]
- data ClientSocket
- data ClientError
- sendAndReceive :: ClientSocket -> ByteString -> [ByteString] -> IO (Either ClientError Response)
- withClientSocket :: String -> (ClientSocket -> IO a) -> IO a
Documentation
Types
Response | |
|
data ClientSocket Source
Functions
sendAndReceive :: ClientSocket -> ByteString -> [ByteString] -> IO (Either ClientError Response)Source
withClientSocket :: String -> (ClientSocket -> IO a) -> IO aSource