Class Requestor
The Requestor class is responsible for preparing and sending an API reqest, as well as parsing and handling the response.
- MyAllocator\phpsdk\src\MaBaseClass
-
MyAllocator\phpsdk\src\Util\Requestor
Methods summary
public
|
#
__construct( array $cfg = null )
The constructor passes potential configuration parameters to MaBaseClass. |
public
mixed
|
|
public static
string
|
|
public static
string
|
Methods inherited from MyAllocator\phpsdk\src\MaBaseClass
debug()
,
debug_echo()
,
debug_print_r()
,
debug_var_dump()
,
getConfig()
,
setConfig()
Magic methods summary
Properties summary
public
string
|
$version
The API version. |
#
'201408'
|
public
array
|
$state
Request and response state data. |
#
array(
'method' => null,
'request' => array(), // time, body
'response' => array() // time, code, headers, body, body_raw
)
|