PHP 클래스 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);
파일 보기
프로젝트 열기: pradosoft/prado
공개 메소드들
메소드 |
설명 |
|
__call ( $method, $parameters ) : mixed |
|
|
create ( $type, $serverUrl, $isNotification = false ) |
Creates an instance of TJsonRpcClient |
|
encodeRequest ( $method, $parameters ) |
|
|
메소드 상세
Creates an instance of TJsonRpcClient
public static create ( $type, $serverUrl, $isNotification = false ) |