apiary-websockets-0.9.0.0: websockets supper for apiary web framework.

Safe HaskellNone

Web.Apiary.WebSockets

Contents

Synopsis

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

Reexport

PendingConnection, pandingRequest, acceptRequest, rejectrequest

receiveData

sendTextData, sendBinaryData, sendClose, sendPing