yaml-rpc-0.1: Simple library for network (TCP/IP) YAML RPCSource codeContentsIndex
Network.YAML.WrapMethods
Synopsis
remote :: Name -> Q [Dec]
declareRules :: [Name] -> Q [Dec]
Documentation
remote :: Name -> Q [Dec]Source
Declare given function as remote method. This creates a function with same name as given (so qualified name must be used as argument), and almost same behaivour. Difference is that newly declared function takes pair (host name, port number) as first argument.
declareRules :: [Name] -> Q [Dec]Source
Declare dispatching rules for given list of functions. Map with rules will be called dispatchingRules. For each given function RPC method with same name will be declared.
Produced by Haddock version 2.6.1