jsonrpcClient
Table of Contents
Properties
-
$apiAddr
: mixed
-
$apikey
: mixed
-
$cb_class
: mixed
-
$cb_function
: mixed
-
$certificate_path
: mixed
-
$error
: mixed
-
$errorCode
: mixed
-
$errorMessage
: mixed
-
$noSslCheck
: mixed
-
$options
: mixed
-
$rawResult
: mixed
-
$result
: mixed
Methods
-
__construct()
: mixed
-
getCb_class()
: mixed
-
getCb_function()
: mixed
-
getCertificate_path()
: mixed
-
getError()
: mixed
-
getErrorCode()
: mixed
-
getErrorMessage()
: mixed
-
getNoSslCheck()
: mixed
-
getRawResult()
: mixed
-
getResult()
: mixed
-
sendRequest()
: bool
-
setCb_class()
: mixed
-
setCb_function()
: mixed
-
setCertificate_path()
: mixed
-
setDisable_ssl_verifiy()
: mixed
-
setNoSslCheck()
: mixed
-
send()
: mixed
$apiAddr
private
mixed
$apiAddr
$apikey
private
mixed
$apikey
= ''
$cb_class
private
mixed
$cb_class
= ''
$cb_function
private
mixed
$cb_function
= ''
$certificate_path
private
mixed
$certificate_path
= ''
$error
private
mixed
$error
= 'No error'
$errorCode
private
mixed
$errorCode
= 9999
$errorMessage
private
mixed
$errorMessage
= 'No error'
$noSslCheck
private
mixed
$noSslCheck
= \false
$options
private
mixed
$options
= array()
$rawResult
private
mixed
$rawResult
$result
private
mixed
$result
__construct()
public
__construct(string $_apiAddr, string $_apikey[, array<string|int, mixed> $_options = array() ]) : mixed
Parameters
-
$_apiAddr
: string
-
-
$_apikey
: string
-
-
$_options
: array<string|int, mixed>
= array()
-
getCb_class()
public
getCb_class() : mixed
getCb_function()
public
getCb_function() : mixed
getCertificate_path()
public
getCertificate_path() : mixed
getError()
public
getError() : mixed
getErrorCode()
public
getErrorCode() : mixed
getErrorMessage()
public
getErrorMessage() : mixed
getNoSslCheck()
public
getNoSslCheck() : mixed
getRawResult()
public
getRawResult() : mixed
getResult()
public
getResult() : mixed
sendRequest()
public
sendRequest(string $_method[, array<string|int, mixed> $_params = null ][, int $_timeout = 15 ][, mixed $_file = null ][, int $_maxRetry = 2 ]) : bool
Parameters
-
$_method
: string
-
-
$_params
: array<string|int, mixed>
= null
-
-
$_timeout
: int
= 15
-
-
$_file
: mixed
= null
-
-
$_maxRetry
: int
= 2
-
setCb_class()
public
setCb_class(mixed $cb_class) : mixed
Parameters
-
$cb_class
: mixed
-
setCb_function()
public
setCb_function(mixed $cb_function) : mixed
Parameters
-
$cb_function
: mixed
-
setCertificate_path()
public
setCertificate_path(mixed $certificate_path) : mixed
Parameters
-
$certificate_path
: mixed
-
setDisable_ssl_verifiy()
public
setDisable_ssl_verifiy(mixed $noSslCheck) : mixed
Parameters
-
$noSslCheck
: mixed
-
setNoSslCheck()
public
setNoSslCheck(mixed $noSslCHeck) : mixed
Parameters
-
$noSslCHeck
: mixed
-
send()
private
send(mixed $_request[, mixed $_timeout = 15 ][, mixed $_file = null ][, mixed $_maxRetry = 2 ]) : mixed
Parameters
-
$_request
: mixed
-
-
$_timeout
: mixed
= 15
-
-
$_file
: mixed
= null
-
-
$_maxRetry
: mixed
= 2
-