| Safe Haskell | Trustworthy |
|---|---|
| Language | Haskell2010 |
Network.MessagePack.Client
MessagePack Client type
Instances
| Monad m => Monad (ClientT m) Source # | |
| Functor m => Functor (ClientT m) Source # | |
| Monad m => Applicative (ClientT m) Source # | |
| MonadIO m => MonadIO (ClientT m) Source # | |
| MonadThrow m => MonadThrow (ClientT m) Source # | |
| MonadCatch m => MonadCatch (ClientT m) Source # | |
| (MonadIO m, MonadThrow m, MessagePack o) => RpcType (ClientT m o) Source # | |
execClient :: ByteString -> Int -> Client a -> IO a Source #
Call RPC method
RPC error
RPC error type
Constructors
| RemoteError !Object | Server error |
| ResultTypeError !Text !Object | Result type mismatch |
| ProtocolError !Text | Protocol error |
Minimal complete definition
rpcc
Instances
| (MessagePack o, RpcType r) => RpcType (o -> r) Source # | |
| (MonadIO m, MonadThrow m, MessagePack o) => RpcType (ClientT m o) Source # | |