servant-subscriber-0.6.0.0: When REST is not enough ...

Safe HaskellNone
LanguageHaskell2010

Servant.Subscriber.Request

Synopsis

Documentation

data Request #

Any message from the client is a Request:

SetPongRequest: A request that should be issued whenever a websocket pong is received. In addition to every websocket pong the request also gets issued immediately upon receival. Bot SetPongRequest and SetCloseRequest will be confirmed with a Subscribed response, but any return value of the request won't be delivered.

SetCloseRequest: A request that should be issued when the websocket connection closes for whatever reason.

data HttpRequest #

Instances

Eq HttpRequest # 
Ord HttpRequest # 
Show HttpRequest # 
Generic HttpRequest # 

Associated Types

type Rep HttpRequest :: * -> * #

ToJSON HttpRequest # 
FromJSON HttpRequest # 
type Rep HttpRequest #