The Horde_RPC:: class provides a set of server and client methods for RPC communication.
TODO:
$Horde: framework/RPC/RPC.php,v 1.7.10.18 2009/06/16 15:28:04 jan Exp $
Copyright 2002-2009 The Horde Project (http://www.horde.org/)
See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.fsf.org/copyleft/lgpl.html.
Located in /RPC/RPC.php (line 31)
Class | Description |
---|---|
![]() |
The Horde_RPC_PhpSoap class provides a PHP 5 Soap implementation of the Horde RPC system. |
![]() |
The Horde_RPC_json-rpc class provides a JSON-RPC 1.1 implementation of the Horde RPC system. |
![]() |
The Horde_RPC_phpgw class provides an XMLRPC implementation of the Horde RPC system compatible with phpgw. It is based on the xmlrpc.php implementation by Jan Schneider. |
![]() |
The Horde_RPC_soap class provides an SOAP implementation of the Horde RPC system. |
![]() |
The Horde_RPC_syncml class provides a SyncML implementation of the Horde RPC system. |
![]() |
The Horde_RPC_webdav class provides a WebDAV implementation of the Horde RPC system. |
![]() |
The Horde_RPC_xmlrpc class provides an XMLRPC implementation of the Horde RPC system. |
RPC server constructor.
Check authentication. Different backends may handle authentication in different ways. The base class implementation checks for HTTP Authentication against the Horde auth setup.
Attempts to return a concrete RPC server instance based on $driver.
Get the request body input. Different RPC backends can override this to return an open stream to php://stdin, for instance - whatever is easiest to handle in the getResponse() method.
The base class implementation looks for $HTTP_RAW_POST_DATA and returns that if it's available; otherwise, it returns the contents of php://stdin.
Sends an RPC request to the server and returns the result.
Returns the Content-Type of the response.
Builds an RPC request and sends it to the RPC server.
This statically called method is actually the RPC client.
Documentation generated on Sun, 30 Jan 2011 05:21:02 +0000 by phpDocumentor 1.4.3