This module exports some extra functions. However, note that these utilities are primarily meant for internal use, and can change between minor releases.
- iterSocket :: Socket -> Iteratee ByteString IO ()
Documentation
iterSocket :: Socket -> Iteratee ByteString IO ()Source
Create an iterator which writes to a socket. Throws a ConnectionClosed
exception if the user attempts to write to a closed socket.