Module

Test.Serialization.Symbiote.WebSocket

Package
purescript-symbiote
Repository
athanclark/purescript-symbiote

#secondPeerWebSocketArrayBuffer Source

#firstPeerWebSocketArrayBuffer Source

#secondPeerWebSocketJson Source

#firstPeerWebSocketJson Source

#peerWebSocketArrayBuffer Source

peerWebSocketArrayBuffer :: forall me them stM m. MonadEffect m => MonadAff m => MonadBaseControl Aff m stM => SingletonFunctor stM => EncodeArrayBuffer (me (AV Uint8 UInt)) => DecodeArrayBuffer (them (AV Uint8 UInt)) => DynamicByteLength (me (AV Uint8 UInt)) => String -> Debug -> ((me (AV Uint8 UInt) -> m Unit) -> m (them (AV Uint8 UInt)) -> (Topic -> m Unit) -> (Failure them (AV Uint8 UInt) -> m Unit) -> (Topic -> Number -> m Unit) -> SymbioteT (AV Uint8 UInt) m Unit -> m Unit) -> SymbioteT (AV Uint8 UInt) m Unit -> m Unit

#peerWebSocketJson Source

peerWebSocketJson :: forall me them stM m. MonadEffect m => MonadAff m => MonadBaseControl Aff m stM => SingletonFunctor stM => EncodeJson (me ShowJson) => DecodeJson (them ShowJson) => String -> Debug -> ((me ShowJson -> m Unit) -> m (them ShowJson) -> (Topic -> m Unit) -> (Failure them ShowJson -> m Unit) -> (Topic -> Number -> m Unit) -> SymbioteT ShowJson m Unit -> m Unit) -> SymbioteT ShowJson m Unit -> m Unit

#peerWebSocket Source

peerWebSocket :: forall me them s stM m. MonadEffect m => MonadAff m => MonadBaseControl Aff m stM => SingletonFunctor stM => Show s => (WebSocketsApp Effect (them s) (me s) -> Effect Unit) -> Debug -> ((me s -> m Unit) -> m (them s) -> (Topic -> m Unit) -> (Failure them s -> m Unit) -> (Topic -> Number -> m Unit) -> SymbioteT s m Unit -> m Unit) -> SymbioteT s m Unit -> m Unit