-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Message Pack RPC over TCP -- -- Message Pack RPC over TCP @package messagepack-rpc @version 0.5.1 module Network.MessagePack -- | The type of a message pack RPC method. It gets an Object as a -- parameter, and returns either an error or the result as an Object. type Method = Object -> IO (Either String Object) -- | Start the RPC server binding the socket using the given preferences, -- and using the RPC methods defined in the map of method name -> -- Method. runRPC :: Map String Method -> HostPreference -> ServiceName -> IO ()