Class \Prado\Web\Services\TRpcProtocol
TRpcProtocol class
TRpcProtocol is the base class used to implement a protocol in a TRpcService. Prado already implements two protocols: TXmlRpcProtocol for Xml-Rpc request and TJsonRpcProtocol for JSON-Rpc requests.
Class hierarchy
Author: Robin J. Rogge <rrogge@bigpoint.net>Since: 3.2
public
|
addMethod(string $methodName, array<string|int, mixed> $handlerDetails) : mixed
Registers a new RPC method and handler details
|
public
|
callApiMethod(string $methodName, array<string|int, mixed> $parameters) : mixed
Calls the callback handler for the given method
|
public
abstract
|
|
public
abstract
|
|
public
abstract
|
|
public
abstract
|
|
public
abstract
|
|