| 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 # | |
Defined in Network.MessagePack.Client.Internal | |
| MonadIO m => MonadIO (ClientT m) Source # | |
Defined in Network.MessagePack.Client.Internal | |
| MonadThrow m => MonadThrow (ClientT m) Source # | |
Defined in Network.MessagePack.Client.Internal | |
| 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 |
Instances
| Eq RpcError Source # | |
| Ord RpcError Source # | |
Defined in Network.MessagePack.Types.Error | |
| Show RpcError Source # | |
| Exception RpcError Source # | |
Defined in Network.MessagePack.Types.Error Methods toException :: RpcError -> SomeException # fromException :: SomeException -> Maybe RpcError # displayException :: RpcError -> String # | |
Minimal complete definition
Instances
| (MessagePack o, RpcType r) => RpcType (o -> r) Source # | |
| (MonadIO m, MonadThrow m, MessagePack o) => RpcType (ClientT m o) Source # | |