Safe Haskell | None |
---|

- webSockets :: (Functor m, Monad m, Functor n, Monad n) => Fn xs ServerApp -> ApiaryT xs n m ()
- webSockets' :: (Functor m, Monad m, Functor n, Monad n) => ConnectionOptions -> Fn xs ServerApp -> ApiaryT xs n m ()
- actionWithWebSockets :: (Functor m, Monad m, Functor n, Monad n) => Fn c ServerApp -> Fn c (ActionT n ()) -> ApiaryT c n m ()
- actionWithWebSockets' :: (Functor m, Monad m, Functor n, Monad n) => ConnectionOptions -> Fn xs ServerApp -> Fn xs (ActionT n ()) -> ApiaryT xs n m ()
- module Network.WebSockets

# Documentation

webSockets :: (Functor m, Monad m, Functor n, Monad n) => Fn xs ServerApp -> ApiaryT xs n m ()Source

websocket only action. since 0.8.0.0.

webSockets' :: (Functor m, Monad m, Functor n, Monad n) => ConnectionOptions -> Fn xs ServerApp -> ApiaryT xs n m ()Source

websocket only action. since 0.8.0.0.

actionWithWebSockets :: (Functor m, Monad m, Functor n, Monad n) => Fn c ServerApp -> Fn c (ActionT n ()) -> ApiaryT c n m ()Source

actionWithWebSockets' :: (Functor m, Monad m, Functor n, Monad 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