| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Network.Mux.Bearer.Pipe
Synopsis
- data PipeChannel = PipeChannel {
- readHandle :: Int -> IO ByteString
- writeHandle :: ByteString -> IO ()
- pipeChannelFromHandles :: Handle -> Handle -> PipeChannel
- pipeAsBearer :: SDUSize -> PipeChannel -> Bearer IO
Documentation
data PipeChannel Source #
Abstraction over various types of handles. We provide two instances:
Constructors
| PipeChannel | |
Fields
| |
pipeChannelFromHandles Source #
Arguments
| :: Handle | read handle |
| -> Handle | write handle |
| -> PipeChannel |
pipeAsBearer :: SDUSize -> PipeChannel -> Bearer IO Source #