__construct() __construct(string $responseString) Set up the response Parameters string $responseString the complete HTTP response as supplied by the server Throws \triagens\ArangoDb\ClientException
getHttpCode() getHttpCode() : integer Return the HTTP status code of the response Returns integer — HTTP status code of response
getHeader() getHeader(string $name) : string Return an individual HTTP headers of the response Parameters string $name name of header Returns string — header value, NULL if header wasn't set in response
getHeaders() getHeaders() : array Return the HTTP headers of the response Returns array — array of all headers with values
getLocationHeader() getLocationHeader() : string Return the location HTTP header of the response Returns string — header value, NULL is header wasn't set in response
getResult() getResult() : string Return the result line (first header line) of the response Returns string — the result line (first line of header)
getJson() getJson() : array Return the data from the JSON-encoded body Throws \triagens\ArangoDb\ClientException Returns array — array of values from the JSON-encoded response body