ArangoDB-PHP API Documentation
  • Namespace
  • Class
  • Deprecated

Namespaces

  • triagens
    • ArangoDb

Classes

  • AdminHandler
  • AqlUserFunction
  • Autoloader
  • Batch
  • BatchPart
  • BindVars
  • Collection
  • CollectionHandler
  • Connection
  • ConnectionOptions
  • Cursor
  • Database
  • DefaultValues
  • Document
  • DocumentHandler
  • Edge
  • EdgeDefinition
  • EdgeHandler
  • Endpoint
  • Export
  • ExportCursor
  • Graph
  • GraphHandler
  • Handler
  • HttpHelper
  • HttpResponse
  • QueryCacheHandler
  • QueryHandler
  • Statement
  • TraceRequest
  • TraceResponse
  • Transaction
  • Traversal
  • UpdatePolicy
  • UrlHelper
  • Urls
  • User
  • UserHandler
  • ValueValidator
  • Vertex
  • VertexHandler

Exceptions

  • ClientException
  • ConnectException
  • Exception
  • ServerException

Class TraceResponse

Class TraceResponse

Namespace: triagens\ArangoDb
Package: triagens\ArangoDb
Author: Francis Chuang
Since: 1.3
Located at TraceResponse.php

Methods summary

public
# __construct( array $headers, integer $httpCode, string $body, $timeTaken )

Set up the response trace

Set up the response trace

Parameters

$headers
  • the array of http headers
$httpCode
  • the http code
$body
  • the string of http body
$timeTaken
public array
# getHeaders( )

Get an array of the response headers

Get an array of the response headers

Returns

array
public integer
# getHttpCode( )

Get the http response code

Get the http response code

Returns

integer
public string
# getHttpCodeDefinition( )

Get the http code definition

Get the http code definition

Returns

string

Throws

triagens\ArangoDb\ClientException
public string
# getBody( )

Get the response body

Get the response body

Returns

string
public string
# getType( )

Get the http message type

Get the http message type

Returns

string
public
# getTimeTaken( )

Get the time taken for this request

Get the time taken for this request

ArangoDB-PHP API Documentation API documentation generated by ApiGen