-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/


-- | Provide a bridge betweeen WAI and the websockets package.
--   
--   This is primarily intended for use with Warp and its
--   settingsIntercept.
@package wai-websockets
@version 1.3.2.1

module Network.Wai.Handler.WebSockets

-- | For use with <tt>settingsIntercept</tt> from the Warp web server.
intercept :: ServerApp -> Request -> Maybe (Source (ResourceT IO) ByteString -> Connection -> ResourceT IO ())

-- | Variation of <a>intercept</a> which allows custom options.
interceptWith :: ConnectionOptions -> ServerApp -> Request -> Maybe (Source (ResourceT IO) ByteString -> Connection -> ResourceT IO ())
