Client
extends Client
in package
Tags
Table of Contents
Constants
- OPT_JSONRPC_VERSION = 'jsonrpc_version'
Properties
- $no_multicall : mixed
- $request_charset_encoding : mixed
- $return_type : mixed
- $extra_options : mixed
- $jsonrpc_version : string|null
- $requestClass : mixed
- $responseClass : mixed
Methods
- __construct() : mixed
- getOption() : mixed
- send() : Response|array<string|int, Response>
- setOption() : mixed
Constants
OPT_JSONRPC_VERSION
public
mixed
OPT_JSONRPC_VERSION
= 'jsonrpc_version'
Properties
$no_multicall
public
mixed
$no_multicall
= true
$request_charset_encoding
public
mixed
$request_charset_encoding
= 'UTF-8'
$return_type
public
mixed
$return_type
= \PhpXmlRpc\JsonRpc\Helper\Parser::RETURN_JSONRPCVALS
$extra_options
protected
static mixed
$extra_options
= array(self::OPT_JSONRPC_VERSION)
$jsonrpc_version
protected
string|null
$jsonrpc_version
= \PhpXmlRpc\JsonRpc\PhpJsonRpc::VERSION_2_0
$requestClass
protected
static mixed
$requestClass
= '\PhpXmlRpc\JsonRpc\Request'
$responseClass
protected
static mixed
$responseClass
= '\PhpXmlRpc\JsonRpc\Response'
Methods
__construct()
public
__construct(mixed $path[, mixed $server = '' ][, mixed $port = '' ][, mixed $method = '' ]) : mixed
Parameters
- $path : mixed
- $server : mixed = ''
- $port : mixed = ''
- $method : mixed = ''
getOption()
public
getOption(string $name) : mixed
Parameters
- $name : string
-
see all the OPT_ constants
Tags
send()
public
send(Request|array<string|int, Request>|string $req[, int $timeout = 0 ][, string $method = '' ]) : Response|array<string|int, Response>
Parameters
- $req : Request|array<string|int, Request>|string
- $timeout : int = 0
-
deprecated
- $method : string = ''
-
deprecated
Return values
Response|array<string|int, Response>setOption()
public
setOption(mixed $name, mixed $value) : mixed
Parameters
- $name : mixed
- $value : mixed