Network.HTTP.Lucu.HandleLike
Description
Type class for things behaves like a Handle
.
Documentation
class HandleLike h whereSource
Methods
hGetLBS :: h -> IO ByteStringSource
hGetBS :: h -> Int -> IO ByteStringSource
hPutBS :: h -> ByteString -> IO ()Source
hGetPeerCert :: h -> IO (Maybe X509)Source
Instances
hPutBuilder :: HandleLike h => h -> Builder -> IO ()Source