Class HttpResponse
Http-Response object holding the raw and objectified Response data.
- frankmayer\ArangoDbPhpCore\Protocols\Http\HttpResponse implements frankmayer\ArangoDbPhpCore\Protocols\Http\HttpResponseInterface
Package: frankmayer\ArangoDbPhpCore\Protocols\Http
Located at Protocols/Http/HttpResponse.php
Methods summary
public
|
|
public
|
|
protected
string
|
|
protected
|
#
splitResponseToHeadersArrayAndBody( $response
)
Splits the response data to a Headers array and a body |
public
array
|
|
public static
array
|
|
public
|
|
public
mixed
|
|
public
|
|
public
mixed
|
|
public
|
|
public
array
|
|
public
|
|
public
|
|
public
|
|
public
mixed
|
|
public
mixed
|
|
public
mixed
|
|
public
|
|
public
boolean
|
|
protected
array
|
Properties summary
public
array
|
$enabledHttpServerExceptions
An array with the http status codes of the ones, that we want to raise an exception for. This should be set with an array like array(400,401,402,403); |
|
public
|
$request
$request The request object |
|
public
array
|
$headers
$headers The headers in form of an multidimensional array |
#
[]
|
public
string
|
$body
$body The body of the response |
|
public
array
|
$batch
$batch An array of batch parts |
|
public
string
|
$protocol
$protocol The protocol used |
|
public
integer
|
$status
$status The http status code of the response |
|
public
string
|
$statusPhrase
$statusPhrase The associated text to the status code |
|
public
boolean
|
$verboseExtractStatusLine
$verboseExtractStatusLine get only status code or also the accompanying text |
#
false
|
public
boolean
|
$batchContentId
This holds the Batchpart Content-Id of the response if one was supplied to ArangoDB in the request. |