Prado\Web\Services\TRpcServer::processRequest PHP Method

processRequest() public method

Passes the request payload to the protocol handler and returns the result
public processRequest ( ) : string
return string rpc response
    public function processRequest()
    {
        try {
            return $this->handler->callMethod($this->getPayload());
        } catch (TRpcException $e) {
            return $this->handler->createErrorResponse($e);
        }
    }