메소드 |
설명 |
|
__construct ( ) |
|
|
getClientHeaders ( ) : array |
Get client request headers. |
|
getFiles ( ) : array |
Get clent file(s) submited by POST or PUT. |
|
getRequest ( ) : array |
Get clent HTTP Request type. |
|
getRequestData ( ) : array |
Getter for requestData. |
|
getRequestMethod ( ) : string |
Getter for requstMethod. |
|
getResponseStatus ( ) : integer |
Getter for responseStatus. |
|
sendRequest ( string $uri, string $method = 'GET', array | string $data = null ) : booeal |
Send HTTP Request to server. |
|
setRequestAuthorization ( string $signature, string $type = 'Basic' ) |
Set HTTP Headers Authorization. |
|
setRequestHeaders ( array $options = [] ) |
Set additional HTTP Request headers. |
|
setResponseHeader ( $code = 200 ) |
Set HTTP Response headers code. |
|
wrapResponseOutput ( array $data, string $format = 'json', string $ContentType = 'application' ) : string |
The return data type. |
|