-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | A MessagePack-RPC Implementation -- @package msgpack-rpc @version 0.1 module Network.MessagePackRpc.Client data Connection connect :: String -> Int -> IO Connection type RpcMethod a = Connection -> a call :: RpcType a => Connection -> String -> a method :: RpcType a => String -> Connection -> a instance (OBJECT o, RpcType r) => RpcType (o -> r) instance OBJECT o => RpcType (IO o) module Network.MessagePackRpc.Server type RpcMethod = [Object] -> IO Object fun :: RpcMethodType f => f -> RpcMethod serve :: Int -> [(String, RpcMethod)] -> IO () instance (OBJECT o, RpcMethodType r) => RpcMethodType (o -> r) instance OBJECT o => RpcMethodType (IO o)