websockets-0.5.2.1: A sensible and clean way to write WebSocket-capable servers in Haskell.

Safe HaskellSafe-Infered

Network.WebSockets.Internal

Description

This module exports some extra functions. However, note that these utilities are primarily meant for internal use, and can change between minor releases.

Synopsis

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.