XML_RPC2_Backend_Xmlrpcext_Server __construct(
object
$callHandler, [array
$options = array()])
|
|
Create a new XML-RPC Server.
The constructor receives a mandatory parameter: the Call Handler. The call handler executes the actual method call. XML_RPC2 server acts as a protocol decoder/encoder between the call handler and the client
Overrides
XML_RPC2_Server::__construct() (Create a new XML-RPC Server.)
Parameters:
Respond to the XML-RPC request.
handleCall reads the XML-RPC request from the raw HTTP body and decodes it. It then calls the corresponding method in the call handler class, returning the encoded result to the client.
Overrides
XML_RPC2_Server::handleCall() (Receive the XML-RPC request, decode the HTTP payload, delegate execution to the call handler, and output the encoded call handler response.)