Метод |
Описание |
|
__construct ( ) |
Constructor |
|
__destruct ( ) |
Destructor |
|
addMethod ( string $methodName, $methodDetails ) |
Registers a new RPC method and handler details |
|
callMethod ( string $requestPayload ) : string |
Handles the RPC request |
|
createErrorResponse ( TRpcException $exception ) : string |
Turns the given exception into an XML RPC fault |
|
createResponseHeaders ( THttpResponse $response ) |
Sets the correct response headers |
|
decode ( string $data ) : array |
Decodes XML encoded data into PHP data |
|
encode ( $data ) : string |
Encodes PHP data into XML data |
|