| | |
- guess(number)
- guess(50) => -1
Guess a number in 1-99. Returns -1 if you
guessed low, 1 if you guessed high and 0
if you guessed correctly. The number is
reset on a correct guess.
- iguess(number)
- iguess(50) => "Too low!"
Guess a number in 1-99. Returns a string
indicating if you are too low, too high or
correct. The number is reset on a correct
guess.
- system.listMethods()
- system.listMethods() => ['add', 'subtract', 'multiple']
Returns a list of the methods supported by the server.
- system.methodHelp(method_name)
- system.methodHelp('add') => "Adds two integers together"
Returns a string containing documentation for the specified method.
- system.methodSignature(method_name)
- system.methodSignature('add') => [double, int, int]
Returns a list describing the signiture of the method. In the
above example, the add method takes two integers as arguments
and returns a double result.
This server does NOT support system.methodSignature.
- system.multicall(call_list)
- system.multicall([{'methodName': 'add', 'params': [2, 2]}, ...]) => [[4], ...]
Allows the caller to package multiple XML-RPC calls into a single
request.
See http://www.xmlrpc.com/discuss/msgReader$1208
|