-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Snap integration for the websockets library -- -- Snap integration for the websockets library @package websockets-snap @version 0.6.0.2 -- | Snap integration for the WebSockets library module Network.WebSockets.Snap -- | The following function escapes from the current Snap handler, -- and continues processing the WebSockets action. The action to -- be executed takes the Request as a parameter, because snap has -- already read this from the socket. runWebSocketsSnap :: Protocol p => (Request -> WebSockets p ()) -> Snap () -- | Variant of runWebSocketsSnap which allows custom options runWebSocketsSnapWith :: Protocol p => WebSocketsOptions -> (Request -> WebSockets p ()) -> Snap ()