Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data ReqRespServer req resp (m :: Type -> Type) a = ReqRespServer {
- recvMsgReq :: req -> m (resp, ReqRespServer req resp m a)
- recvMsgDone :: m a
- reqRespServerPeer :: forall (m :: Type -> Type) req resp a. Monad m => ReqRespServer req resp m a -> Server (ReqResp req resp) 'NonPipelined ('StIdle :: ReqResp req resp) m a
Documentation
data ReqRespServer req resp (m :: Type -> Type) a Source #
ReqRespServer | |
|
reqRespServerPeer :: forall (m :: Type -> Type) req resp a. Monad m => ReqRespServer req resp m a -> Server (ReqResp req resp) 'NonPipelined ('StIdle :: ReqResp req resp) m a Source #
Interpret a particular server action sequence into the server side of the
ReqResp
protocol.