network-conduit-0.2.0: Stream socket data using conduits.

Data.Conduit.Network

Synopsis

Documentation

sourceSocket :: ResourceIO m => Socket -> Source m ByteStringSource

Stream data from the socket.

This function does not automatically close the socket.

Since 0.0.0

sinkSocket :: ResourceIO m => Socket -> Sink ByteString m ()Source

Stream data to the socket.

This function does not automatically close the socket.

Since 0.0.0