- request :: TimeoutHandle -> Conf -> Socket -> Host -> (Request -> IO Response) -> IO ()
- parseResponse :: ByteString -> Either String Response
- putRequest :: Handle -> Request -> IO ()
Documentation
parseResponse :: ByteString -> Either String ResponseSource
Unserializes the bytestring into a response. If there is an
error it will return Left msg
.