Module
SockJS.Server
- Package
- purescript-sockjs-node
- Repository
- FruitieX/purescript-sockjs-node
#Connection Source
data Connection :: Type
SockJS connection object
#createServer_ Source
createServer_ :: forall e. Eff e Server
#onConnection_ Source
onConnection_ :: forall e. EffFn2 e Server (EffFn1 e Connection Unit) Unit
#createServer Source
createServer :: forall e. Eff e Server
#onConnection Source
onConnection :: forall e. Server -> (Connection -> Eff e Unit) -> Eff e Unit
Attaches a connection event handler to a Server
#write Source
write :: forall e. Connection -> Message -> Eff e Unit
Write a message over a Connection
- Modules
- SockJS.
Server