Returns a driver for a Neo4j instance with default configuration settings and disabled authentication.
public static IDriver Driver(string uri)
Parameters
uri
string
The URI to the Neo4j instance. Should be in the form protocol://<server location>:<port>
. If port
is not supplied the default of 7687
will be used. The supported protocols in URI could either be bolt
or neo4j
. The protocol bolt
should be used when creating a driver connecting to the Neo4j instance directly. The protocol neo4j
should be used when creating a driver with built-in routing.
A new IDriver instance specified by the uri
.
Thrown if uri
is null
.
Returns a driver for a Neo4j instance with default configuration settings and disabled authentication.
public static IDriver Driver(Uri uri)
Parameters
uri
Uri
The URI to the Neo4j instance. Should be in the form protocol://<server location>:<port>
. If port
is not supplied the default of 7687
will be used. The supported protocols in URI could either be bolt
or neo4j
. The protocol bolt
should be used when creating a driver connecting to the Neo4j instance directly. The protocol neo4j
should be used when creating a driver with built-in routing.
A new IDriver instance specified by the uri
.
Thrown if uri
is null
.
Returns a driver for a Neo4j instance with custom configuration and disabled authentication.
public static IDriver Driver(string uri, Action<ConfigBuilder> action)
Parameters
uri
string
The URI to the Neo4j instance. Should be in the form protocol://<server location>:<port>
. If port
is not supplied the default of 7687
will be used. The supported protocols in URI could either be bolt
or neo4j
. The protocol bolt
should be used when creating a driver connecting to the Neo4j instance directly. The protocol neo4j
should be used when creating a driver with built-in routing.
action
Action<ConfigBuilder>
Specifies how to build a driver configuration Config, using ConfigBuilder. If set to null
, then no modification will be carried out and the default driver configurations Config will be used when creating the driver.
A new IDriver instance specified by the uri
.
Thrown if uri
is null
.
Returns a driver for a Neo4j instance with custom configuration and disabled authentication.
public static IDriver Driver(Uri uri, Action<ConfigBuilder> action)
Parameters
uri
Uri
The URI to the Neo4j instance. Should be in the form protocol://<server location>:<port>
. If port
is not supplied the default of 7687
will be used. The supported protocols in URI could either be bolt
or neo4j
. The protocol bolt
should be used when creating a driver connecting to the Neo4j instance directly. The protocol neo4j
should be used when creating a driver with built-in routing.
action
Action<ConfigBuilder>
Specifies how to build a driver configuration Config, using ConfigBuilder. If set to null
, then no modification will be carried out and the default driver configurations Config will be used when creating the driver.
A new IDriver instance specified by the uri
.
Thrown if uri
is null
.
Returns a driver for a Neo4j instance with default configuration settings.
public static IDriver Driver(string uri, IAuthToken authToken)
Parameters
uri
string
The URI to the Neo4j instance. Should be in the form protocol://<server location>:<port>
. If port
is not supplied the default of 7687
will be used. The supported protocols in URI could either be bolt
or neo4j
. The protocol bolt
should be used when creating a driver connecting to the Neo4j instance directly. The protocol neo4j
should be used when creating a driver with built-in routing.
authToken
IAuthToken
Authentication to use, AuthTokens.
A new IDriver instance specified by the uri
.
Thrown if uri
is null
.
Returns a driver for a Neo4j instance with default configuration settings.
public static IDriver Driver(Uri uri, IAuthToken authToken)
Parameters
uri
Uri
The URI to the Neo4j instance. Should be in the form protocol://<server location>:<port>
. If port
is not supplied the default of 7687
will be used. The supported protocols in URI could either be bolt
or neo4j
. The protocol bolt
should be used when creating a driver connecting to the Neo4j instance directly. The protocol neo4j
should be used when creating a driver with built-in routing.
authToken
IAuthToken
Authentication to use, AuthTokens.
A new IDriver instance specified by the uri
.
Thrown if uri
is null
.
Returns a driver for a Neo4j instance with default configuration settings.
public static IDriver Driver(Uri uri, IAuthTokenManager authTokenManager)
Parameters
uri
Uri
The URI to the Neo4j instance. Should be in the form protocol://<server location>:<port>
. If port
is not supplied the default of 7687
will be used. The supported protocols in URI could either be bolt
or neo4j
. The protocol bolt
should be used when creating a driver connecting to the Neo4j instance directly. The protocol neo4j
should be used when creating a driver with built-in routing.
authTokenManager
IAuthTokenManager
The IAuthTokenManager to use for authentication.
A new IDriver instance.
Returns a driver for a Neo4j instance with custom configuration.
public static IDriver Driver(string uri, IAuthToken authToken, Action<ConfigBuilder> action)
Parameters
uri
string
The URI to the Neo4j instance. Should be in the form protocol://<server location>:<port>
. If port
is not supplied the default of 7687
will be used. The supported protocols in URI could either be bolt
or neo4j
. The protocol bolt
should be used when creating a driver connecting to the Neo4j instance directly. The protocol neo4j
should be used when creating a driver with built-in routing.
authToken
IAuthToken
Authentication to use, AuthTokens.
action
Action<ConfigBuilder>
Specifies how to build a driver configuration Config, using ConfigBuilder. If set to null
, then no modification will be carried out and the default driver configurations Config will be used when creating the driver.
A new driver to the database instance specified by the uri
.
Returns a driver for a Neo4j instance with custom configuration.
public static IDriver Driver(string uri, IAuthTokenManager authTokenManager, Action<ConfigBuilder> action)
Parameters
uri
string
The URI to the Neo4j instance. Should be in the form protocol://<server location>:<port>
. If port
is not supplied the default of 7687
will be used. The supported protocols in URI could either be bolt
or neo4j
. The protocol bolt
should be used when creating a driver connecting to the Neo4j instance directly. The protocol neo4j
should be used when creating a driver with built-in routing.
authTokenManager
IAuthTokenManager
The IAuthTokenManager to use for authentication.
action
Action<ConfigBuilder>
Specifies how to build a driver configuration Config, using ConfigBuilder. If set to null
, then no modification will be carried out and the default driver configurations Config will be used when creating the driver.
A new IDriver instance.
Returns a driver for a Neo4j instance with custom configuration.
public static IDriver Driver(Uri uri, IAuthToken authToken, Action<ConfigBuilder> action)
Parameters
uri
Uri
The URI to the Neo4j instance. Should be in the form neo4j://<server location>:<port>
. If port
is not supplied the default of 7687
will be used.
authToken
IAuthToken
Authentication to use, AuthTokens.
action
Action<ConfigBuilder>
Defines how to build a driver configuration Config using ConfigBuilder . If set to null
, then no modification will be carried out on the build. As a result, a default config with default settings will be used Config when creating the new driver.
A new driver to the database instance specified by the uri
.
Returns a driver for a Neo4j instance with custom configuration.
public static IDriver Driver(Uri uri, IAuthTokenManager authTokenManager, Action<ConfigBuilder> action)
Parameters
uri
Uri
The URI to the Neo4j instance. Should be in the form protocol://<server location>:<port>
. If port
is not supplied the default of 7687
will be used. The supported protocols in URI could either be bolt
or neo4j
. The protocol bolt
should be used when creating a driver connecting to the Neo4j instance directly. The protocol neo4j
should be used when creating a driver with built-in routing.
authTokenManager
IAuthTokenManager
The IAuthTokenManager to use for authentication.
action
Action<ConfigBuilder>
Specifies how to build a driver configuration Config, using ConfigBuilder. If set to null
, then no modification will be carried out and the default driver configurations Config will be used when creating the driver.
A new IDriver instance.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4