PHP Class Prado\Web\Services\TRpcServer
TRpcServer is a class
TRpcServer is the base class used to creare a server to be used in conjunction with
{@link TRpcService}.
The role of TRpcServer is to be an intermediate, moving data between the service and
the provider. This base class should suit the most common needs, but can be sublassed for
logging and debugging purposes, or to filter and modify the request/response on the fly.
Mostra file
Open project: pradosoft/prado
Protected Properties
Property |
Type |
Description |
|
$handler |
|
instance |
|
Public Methods
Method Details
__construct()
public method
public __construct ( TRpcProtocol $protocolHandler ) |
$protocolHandler |
TRpcProtocol |
instance |
addRpcMethod()
public method
Registers the method in the protocol handler
getPayload()
public method
Retrieves the request payload
processRequest()
public method
Passes the request payload to the protocol handler and returns the result
Property Details
$handler protected_oe property