Class \Prado\Web\Services\TXmlRpcProtocol
TXmlRpcProtocol class
TXmlRpcProtocol is a class that implements XML-Rpc protocol in TRpcService. It's basically a wrapper to the xmlrpc_server_* family of php methods.
Class hierarchy
Author: Robin J. Rogge <rrogge@bigpoint.net>Since: 3.2
public
|
|
public
|
|
public
|
addMethod(string $methodName, array<string|int, mixed> $methodDetails) : mixed
Registers a new RPC method and handler details
|
public
|
|
public
|
createErrorResponse(TRpcException $exception) : string
Turns the given exception into an XML RPC fault
|
public
|
|
public
|
|
public
|
addMethod, callApiMethod, callMethod, createErrorResponse, createResponseHeaders, decode, encode |