Definition at line 31 of file GraphRawResponse.php.
◆ __construct()
Facebook\Http\GraphRawResponse::__construct |
( |
|
$headers, |
|
|
|
$body, |
|
|
|
$httpStatusCode = null |
|
) |
| |
Creates a new GraphRawResponse entity.
- Parameters
-
string | array | $headers | The headers as a raw string or array. |
string | $body | The raw response body. |
int | $httpStatusCode | The HTTP response code (if sending headers as parsed array). |
Definition at line 55 of file GraphRawResponse.php.
◆ getBody()
Facebook\Http\GraphRawResponse::getBody |
( |
| ) |
|
◆ getHeaders()
Facebook\Http\GraphRawResponse::getHeaders |
( |
| ) |
|
◆ getHttpResponseCode()
Facebook\Http\GraphRawResponse::getHttpResponseCode |
( |
| ) |
|
◆ setHeadersFromString()
Facebook\Http\GraphRawResponse::setHeadersFromString |
( |
|
$rawHeaders | ) |
|
|
protected |
Parse the raw headers and set as an array.
- Parameters
-
string | $rawHeaders | The raw headers from the response. |
Definition at line 116 of file GraphRawResponse.php.
◆ setHttpResponseCodeFromHeader()
Facebook\Http\GraphRawResponse::setHttpResponseCodeFromHeader |
( |
|
$rawResponseHeader | ) |
|
◆ $body
Facebook\Http\GraphRawResponse::$body |
|
protected |
◆ $headers
Facebook\Http\GraphRawResponse::$headers |
|
protected |
◆ $httpResponseCode
Facebook\Http\GraphRawResponse::$httpResponseCode |
|
protected |
The documentation for this class was generated from the following file: