Module
Node.Websocket.Request
- Package
- purescript-node-websocket
- Repository
- juspay/purescript-node-websocket
#httpRequest Source
httpRequest :: WSRequest -> Request#resourceURL Source
resourceURL :: WSRequest -> URL#remoteAddress Source
remoteAddress :: WSRequest -> String#webSocketVersion Source
webSocketVersion :: WSRequest -> Number#RequestAcceptedCallback Source
type RequestAcceptedCallback e = WSConnection -> Eff (wss :: WSSERVER | e) Unit#onRequestAccepted Source
onRequestAccepted :: forall e. WSRequest -> RequestAcceptedCallback e -> Eff (wss :: WSSERVER | e) Unit#onRequestRejected Source
onRequestRejected :: forall e. WSRequest -> RequestRejectedCallback e -> Eff (wss :: WSSERVER | e) Unit