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