class DropboxRawResponse (View source)

DropboxRawResponse

Properties

protected array $headers Response headers
protected string $body Raw response body
protected int $httpResponseCode HTTP status response code

Methods

__construct(array $headers, string $body, int|null $statusCode = null)

Create a new GraphRawResponse instance

array
getHeaders()

Get the response headers

string
getBody()

Get the response body

int
getHttpResponseCode()

Get the HTTP response code

Details

at line line 37
__construct(array $headers, string $body, int|null $statusCode = null)

Create a new GraphRawResponse instance

Parameters

array $headers Response headers
string $body Raw response body
int|null $statusCode HTTP response code

at line line 51
array getHeaders()

Get the response headers

Return Value

array

at line line 61
string getBody()

Get the response body

Return Value

string

at line line 71
int getHttpResponseCode()

Get the HTTP response code

Return Value

int