PHP Class Prado\Util\TJsonRpcClient
Note: When using setIsNotification(true), *every* following request is also
considered to be a notification until you use setIsNotification(false).
Usage:
$_rpcClient = new TJsonRpcClient('http://host/server');
$_result = $_rpcClient->remoteMethod($param, $otherParam);
or
$_result = TJsonRpcClient::create('http://host/server')->remoteMethod($param, $otherParam);
Mostra file
Open project: pradosoft/prado
Public Methods
Method |
Description |
|
__call ( $method, $parameters ) : mixed |
|
|
create ( $type, $serverUrl, $isNotification = false ) |
Creates an instance of TJsonRpcClient |
|
encodeRequest ( $method, $parameters ) |
|
|
Method Details
create()
public static method
Creates an instance of TJsonRpcClient
public static create ( $type, $serverUrl, $isNotification = false ) |
encodeRequest()
public method