\triagens\ArangoDbTraceRequest

Class TraceRequest


Summary

Methods
Properties
Constants
__construct()
getHeaders()
getMethod()
getRequestUrl()
getBody()
getType()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$_headers
$_method
$_requestUrl
$_body
$_type
N/A

Properties

$_headers

$_headers : array

Stores each header as an array (key => value) element

Type

array

$_method

$_method : string

Stores the http method

Type

string

$_requestUrl

$_requestUrl : string

Stores the request url

Type

string

$_body

$_body : string

Store the string of the body

Type

string

$_type

$_type : string

The http message type

Type

string

Methods

__construct()

__construct(array $headers, string $method, string $requestUrl, string $body)

Set up the request trace

Parameters

array $headers
  • the array of http headers
string $method
  • the request method
string $requestUrl
  • the request url
string $body
  • the string of http body

getHeaders()

getHeaders() : array

Get an array of the request headers

Returns

array

getMethod()

getMethod() : string

Get the request method

Returns

string

getRequestUrl()

getRequestUrl() : string

Get the request url

Returns

string

getBody()

getBody() : string

Get the body of the request

Returns

string

getType()

getType() : string

Get the http message type

Returns

string