Class: DriverRemoteConnection

DriverRemoteConnection(url, optionsopt)

Represents the default RemoteConnection implementation.

Constructor

new DriverRemoteConnection(url, optionsopt)

Creates a new instance of DriverRemoteConnection.
Parameters:
Name Type Attributes Description
url String The resource uri.
options Object <optional>
The connection options.
Properties
Name Type Attributes Description
ca Array <optional>
Trusted certificates.
cert String | Array | Buffer <optional>
The certificate key.
mimeType String <optional>
The mime type to use.
pfx String | Buffer <optional>
The private key, certificate, and CA certs.
reader GraphSONReader <optional>
The reader to use.
rejectUnauthorized Boolean <optional>
Determines whether to verify or not the server certificate.
traversalSource String <optional>
The traversal source. Defaults to: 'g'.
writer GraphSONWriter <optional>
The writer to use.
authenticator Authenticator <optional>
The authentication handler to use.
headers Object <optional>
An associative array containing the additional header key/values for the initial request.
enableUserAgentOnConnect Boolean <optional>
Determines if a user agent will be sent during connection handshake. Defaults to: true
agent http.Agent <optional>
The http.Agent implementation to use.
Source:

Members

isOpen

Source:

isSessionBound

Source:

Methods

addListener()

Source:

close()

Source:

commit()

Source:

createSession()

Source:

open()

Source:

removeListener()

Source:

rollback()

Source:

submit()

Source: