Method |
Description |
|
callApiMethod ( string $methodName, array $parameters ) : mixed |
Calls the callback handler for the given method
Overrides parent implementation to correctly handle error codes |
|
callMethod ( string $requestPayload ) : string |
Handles the RPC request |
|
createErrorResponse ( TRpcException $exception ) : string |
Turns the given exception into an JSON RPC fault |
|
createResponseHeaders ( THttpResponse $response ) |
Sets the correct response headers |
|
decode ( string $data ) : array |
Decodes JSON encoded data into PHP data |
|
encode ( $data ) : string |
Encodes PHP data into JSON data |
|