| Portability | portable |
|---|---|
| Stability | experimental |
| Maintainer | Hideyuki Tanaka <tanaka.hideyuki@gmail.com> |
| Safe Haskell | None |
Network.MessagePackRpc.Client
Description
This module is client library of MessagePack-RPC. The specification of MessagePack-RPC is at http://redmine.msgpack.org/projects/msgpack/wiki/RPCProtocolSpec.
A simple example:
import Network.MessagePackRpc.Client add :: Int -> Int -> Client Int add = call "add" main = runClient "localhost" 5000 $ do ret <- add 123 456 liftIO $ print ret
MessagePack Client type
Instances
| MonadTrans ClientT | |
| Monad m => Monad (ClientT m) | |
| MonadThrow m => MonadThrow (ClientT m) | |
| MonadIO m => MonadIO (ClientT m) | |
| (MonadIO m, MonadThrow m, OBJECT o) => RpcType (ClientT m o) |