Class Endpoint
Endpoint specification
An endpoint contains the server location the client connects to the following endpoint types are currently supported (more to be added later): - tcp://host:port for tcp connections - unix://socket for UNIX sockets (provided the server supports this) - ssl://host:port for SSL connections (provided the server supports this)
Note: SSL support is added in ArangoDB server 1.1
Namespace: frankmayer\ArangoDbPhpCore\Config
Package: frankmayer\ArangoDbPhpCore\Config
Copyright: Copyright 2013-2015, FRANKMAYER.NET, Athens, Greece
Author: Frank Mayer
Located at Config/Endpoint.php
Package: frankmayer\ArangoDbPhpCore\Config
Copyright: Copyright 2013-2015, FRANKMAYER.NET, Athens, Greece
Author: Frank Mayer
Located at Config/Endpoint.php
Methods summary
public
|
|
public
string
|
|
public static
string
|
|
public static
string
|
|
public static
boolean
|
Constants summary
string |
TYPE_TCP
TCP endpoint type |
#
'tcp'
|
string |
TYPE_SSL
SSL endpoint type |
#
'ssl'
|
string |
TYPE_UNIX
UNIX socket endpoint type |
#
'unix'
|
string |
REGEXP_TCP
Regexp for TCP endpoints |
#
'/^tcp:\/\/(.+?):(\d+)\/?$/'
|
string |
REGEXP_SSL
Regexp for SSL endpoints |
#
'/^ssl:\/\/(.+?):(\d+)\/?$/'
|
string |
REGEXP_UNIX
Regexp for UNIX socket endpoints |
#
'/^unix:\/\/(.+)$/'
|