Class \Prado\Web\Services\TRpcServer
TRpcServer class
TRpcServer is a class
TRpcServer is the base class used to creare a server to be used in conjunction with 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.
Class hierarchy
- \Prado\Web\Services\TRpcServer
- \Prado\TModule implements IModule
- \Prado\TApplicationComponent
- \Prado\TComponent
Since: 3.2
public
|
|
public
|
addRpcMethod(string $methodName, array<string|int, mixed> $methodDetails) : mixed
Registers the method in the protocol handler
|
public
|
|
public
|
\Prado\TApplicationComponent::FX_CACHE_FILE, \Prado\TComponent::GLOBAL_RAISE_EVENT_LISTENER |