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
Methods summary
public
|
|
public
string
|
|
public static
string
|
|
public static
string
|
|
public static
boolean
|
|
public static
array
|
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:\/\/(.+)$/'
|
string |
ENTRY_ENDPOINT
Endpoint index |
#
'endpoint'
|
string |
ENTRY_DATABASES
Databases index |
#
'databases'
|