typed-protocols-examples
Safe HaskellNone
LanguageHaskell2010

Network.TypedProtocol.ReqResp.Codec

Documentation

codecReqResp :: forall req resp (m :: Type -> Type). (Monad m, Show req, Show resp, Read req, Read resp) => Codec (ReqResp req resp) CodecFailure m String Source #

codecReqRespId :: forall req resp (m :: Type -> Type). (Monad m, Show req, Show resp) => Codec (ReqResp req resp) CodecFailure m (AnyMessage (ReqResp req resp)) Source #