configPort :: Int | The port to bind to
|
configOrigins :: ConfigRestriction | The origin URL used in the handshake
|
configDomains :: ConfigRestriction | The location URL used in the handshake. This must match
the Websocket url that the browsers connect to.
|
configOnOpen :: WS -> IO () | The onopen callback, called when a socket is opened
|
configOnMessage :: WS -> String -> IO () | The onmessage callback, called when a message is received
|
configOnClose :: WS -> IO () | The onclose callback, called when the connection is closed.
|