Extracted from Pike v7.8 release 352 at 2011-11-26.
pike.ida.liu.se
[Top]
Protocols
Protocols.XMLRPC
Protocols.XMLRPC.AsyncClient

Class Protocols.XMLRPC.AsyncClient

Description

This class implements an XML-RPC client that uses HTTP transport using non blocking sockets.

Example

void data_ok(mixed result)
{
  write("result=%O\n", result);
}

void fail()
{
  write("fail\n");
}

int main(int argc, array argv)
{
  object async_client = Protocols.XMLRPC.AsyncClient("http://www.oreillynet.com/meerkat/xml-rpc/server.php");
  async_client["system.listMethods"](data_ok, fail);
  return -1;