Safe Haskell | None |
---|
- webSockets :: (Monad n, Functor n) => Fn xs ServerApp -> ApiaryT xs n m ()
- webSockets' :: (Monad n, Functor n) => ConnectionOptions -> Fn xs ServerApp -> ApiaryT xs n m ()
- actionWithWebSockets :: (Functor n, Monad n) => Fn c ServerApp -> Fn c (ActionT n ()) -> ApiaryT c n m ()
- actionWithWebSockets' :: (Monad n, Functor n) => ConnectionOptions -> Fn xs ServerApp -> Fn xs (ActionT n ()) -> ApiaryT xs n m ()
- module Network.WebSockets
Documentation
webSockets :: (Monad n, Functor n) => Fn xs ServerApp -> ApiaryT xs n m ()Source
websocket only action. since 0.8.0.0.
webSockets' :: (Monad n, Functor n) => ConnectionOptions -> Fn xs ServerApp -> ApiaryT xs n m ()Source
websocket only action. since 0.8.0.0.
actionWithWebSockets :: (Functor n, Monad n) => Fn c ServerApp -> Fn c (ActionT n ()) -> ApiaryT c n m ()Source
actionWithWebSockets' :: (Monad n, Functor n) => ConnectionOptions -> Fn xs ServerApp -> Fn xs (ActionT n ()) -> ApiaryT xs n m ()Source
Reexport
PendingConnection, pandingRequest, acceptRequest, rejectrequest
receiveData
sendTextData, sendBinaryData, sendClose, sendPing
module Network.WebSockets