Prado\Web\Services\TXmlRpcProtocol::callMethod PHP Метод

callMethod() публичный Метод

Handles the RPC request
public callMethod ( string $requestPayload ) : string
$requestPayload string
Результат string XML RPC response
    public function callMethod($requestPayload)
    {
        try {
            return xmlrpc_server_call_method($this->_xmlrpcServer, $requestPayload, null);
        } catch (TRpcException $e) {
            return $this->createErrorResponse($e);
        } catch (THttpException $e) {
            throw $e;
        } catch (\Exception $e) {
            return $this->createErrorResponse(new TRpcException('An internal error occured'));
        }
    }