Properties

$errorCode

$errorCode :

Type

$errorMessage

$errorMessage :

Type

$error

$error :

Type

$result

$result :

Type

$rawResult

$rawResult :

Type

$apikey

$apikey :

Type

$options

$options :

Type

$apiAddr

$apiAddr :

Type

$cb_function

$cb_function :

Type

$cb_class

$cb_class :

Type

$certificate_path

$certificate_path :

Type

$noSslCheck

$noSslCheck :

Type

Methods

__construct()

__construct(\type  $_apiAddr,\type  $_apikey,\type  $_options = array())

Parameters

\type $_apiAddr
\type $_apikey
\type $_options

sendRequest()

sendRequest(\type  $_method,array  $_params = null,integer  $_timeout = 15,\type  $_file = null,integer  $_maxRetry = 2): boolean

Parameters

\type $_method
array $_params
integer $_timeout
\type $_file
integer $_maxRetry

Returns

boolean

getError()

getError()

getResult()

getResult()

getRawResult()

getRawResult()

getErrorCode()

getErrorCode()

getErrorMessage()

getErrorMessage()

getCb_function()

getCb_function()

getCb_class()

getCb_class()

setCb_function()

setCb_function(  $cb_function)

Parameters

$cb_function

setCb_class()

setCb_class(  $cb_class)

Parameters

$cb_class

setCertificate_path()

setCertificate_path(  $certificate_path)

Parameters

$certificate_path

getCertificate_path()

getCertificate_path()

setDisable_ssl_verifiy()

setDisable_ssl_verifiy(  $noSslCheck)

Parameters

$noSslCheck

getNoSslCheck()

getNoSslCheck()

setNoSslCheck()

setNoSslCheck(  $noSslCHeck)

Parameters

$noSslCHeck

send()

send(  $_request,  $_timeout = 15,  $_file = null,  $_maxRetry = 2)

Parameters

$_request
$_timeout
$_file
$_maxRetry