PHP Класс 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.
Показать файл
Открыть проект
Защищенные свойства (Protected)
Открытые методы
Описание методов
__construct()
публичный Метод
public __construct ( TRpcProtocol $protocolHandler ) |
$protocolHandler |
TRpcProtocol |
instance |
addRpcMethod()
публичный Метод
Registers the method in the protocol handler
getPayload()
публичный Метод
Retrieves the request payload
processRequest()
публичный Метод
Passes the request payload to the protocol handler and returns the result
Описание свойств
$handler защищенное свойство