module Network.WebSockets
(
PendingConnection
, pendingRequest
, acceptRequest
, AcceptRequest(..)
, defaultAcceptRequest
, acceptRequestWith
, rejectRequest
, RejectRequest(..)
, defaultRejectRequest
, rejectRequestWith
, Connection
, ConnectionOptions (..)
, defaultConnectionOptions
, CompressionOptions (..)
, PermessageDeflate (..)
, defaultPermessageDeflate
, SizeLimit (..)
, receive
, receiveDataMessage
, receiveData
, send
, sendDataMessage
, sendDataMessages
, sendTextData
, sendTextDatas
, sendBinaryData
, sendBinaryDatas
, sendClose
, sendCloseCode
, sendPing
, Headers
, Request (..)
, RequestHead (..)
, getRequestSubprotocols
, Response (..)
, ResponseHead (..)
, Message (..)
, ControlMessage (..)
, DataMessage (..)
, WebSocketsData (..)
, HandshakeException (..)
, ConnectionException (..)
, ServerApp
, runServer
, runServerWith
, makeListenSocket
, makePendingConnection
, makePendingConnectionFromStream
, ClientApp
, runClient
, runClientWith
, runClientWithSocket
, runClientWithStream
, forkPingThread
) where
import Network.WebSockets.Client
import Network.WebSockets.Connection
import Network.WebSockets.Http
import Network.WebSockets.Server
import Network.WebSockets.Types