Class AbstractHttpRequest
Class AbstractHttpRequest
HTTP-Request object that holds a request. Requests are in some cases not directly passed to the server, for instance when a request is destined for a batch.
- frankmayer\ArangoDbPhpCore\Protocols\Http\AbstractHttpRequest implements frankmayer\ArangoDbPhpCore\Protocols\Http\HttpRequestInterface
Direct known subclasses
Abstract
Namespace: frankmayer\ArangoDbPhpCore\Protocols\Http
Package: frankmayer\ArangoDbPhpCore\Protocols\Http
Located at Protocols/Http/AbstractHttpRequest.php
Namespace: frankmayer\ArangoDbPhpCore\Protocols\Http
Package: frankmayer\ArangoDbPhpCore\Protocols\Http
Located at Protocols/Http/AbstractHttpRequest.php
Methods summary
public
|
|
abstract public
|
|
abstract public
mixed
|
|
public
string
|
Constants summary
string |
METHOD_GET
|
#
'GET'
|
string |
METHOD_POST
|
#
'POST'
|
string |
METHOD_PUT
|
#
'PUT'
|
string |
METHOD_PATCH
|
#
'PATCH'
|
string |
METHOD_DELETE
|
#
'DELETE'
|
string |
METHOD_HEAD
|
#
'HEAD'
|
string |
METHOD_OPTIONS
|
#
'OPTIONS'
|
string |
API_BATCH
|
#
'/_api/batch'
|
Properties summary
public
|
$client
|
|
public
|
$connector
|
|
public
array
|
$connectorOptions
|
#
[]
|
public
string
|
$address
The address of the endpoint |
|
public
string
|
$path
The path-part of the request |
|
public
string
|
$body
The Body of the request |
|
public
array
|
$headers
The headers of the request |
#
[]
|
public
array
|
$options
The options of the request |
#
[]
|
public
string
|
$type
The type of the request |
|
public
string
|
$method
The method of the request |
|
public
string
|
$response
The response data as a result of the request |
|
public
|
$responseObject
The response-object as a result of the request |
|
public
object
|
$handler
The wrapped handler of communications. |
|
public
string
|
$batchBoundary
The boundary string for batch operations with ArangoDB |
|
public
object
|
$batch
flag for if the request is a batch request (this does not include the batchpart requests) |