Module
WebSocket.Class
- Package
- purescript-websocket-moderate
- Repository
- athanclark/purescript-websocket-moderate
#newWebSocket Source
newWebSocket :: forall receive send stM m. EncodeJson send => DecodeJson receive => MonadBaseControl Effect m stM => SingletonFunctor stM => String -> Array String -> WebSocketsApp m receive send -> m Unit
#newWebSocketString Source
newWebSocketString :: forall stM m. MonadBaseControl Effect m stM => SingletonFunctor stM => String -> Array String -> WebSocketsApp m String String -> m Unit
#newWebSocketBinary Source
newWebSocketBinary :: forall binaryType receive send stM m. WebSocketBinary send => WebSocketBinary receive => BinaryType receive binaryType => IsSymbol binaryType => MonadBaseControl Effect m stM => SingletonFunctor stM => String -> Array String -> WebSocketsApp m receive send -> m Unit
#newWebSocketBoth Source
newWebSocketBoth :: forall binaryType receive send stM m. WebSocketBinary send => WebSocketBinary receive => BinaryType receive binaryType => IsSymbol binaryType => MonadBaseControl Effect m stM => SingletonFunctor stM => String -> Array String -> WebSocketsApp m String String -> WebSocketsApp m receive send -> m Unit
- Modules
- WebSocket
- WebSocket.
Class - WebSocket.
Text