TYPE_TCP
TYPE_TCP
TCP endpoint type
Endpoint specification
An endpoint contains the server location the client connects to the following endpoint types are currently supported (more to be added later):
Note: SSL support is added in ArangoDB server 1.1
__construct(string $value) : \triagens\ArangoDb\Endpoint
Create a new endpoint
string | $value |
|
create(\triagens\ArangoDb\Connection $connection, string $endpoint, array $databases) : array
creates an endpoint
This creates a new endpoint
This is an alias function to Endpoint::modify, as ArangoDB's API has one call to support both new and modify
\triagens\ArangoDb\Connection | $connection |
|
string | $endpoint |
|
array | $databases |
|
$responseArray - The response array.
modify(\triagens\ArangoDb\Connection $connection, string $endpoint, array $databases) : array
modifies an endpoint
This will modify an existing or create a new endpoint.
\triagens\ArangoDb\Connection | $connection |
|
string | $endpoint |
|
array | $databases |
|
$responseArray - The response array.
delete(\triagens\ArangoDb\Connection $connection, string $endpoint) : array
Deletes an endpoint
This will delete an existing endpoint.
\triagens\ArangoDb\Connection | $connection |
|
string | $endpoint |
|
$responseArray - The response array.
listEndpoints(\triagens\ArangoDb\Connection $connection) : array
List endpoints
This will list the endpoints that are configured on the server
\triagens\ArangoDb\Connection | $connection |
|
$responseArray - The response array.