Skip to main content
Module

x/neo4j_lite_client/mod.ts>Connection#connect

Unofficial Neo4j Driver for Deno
Latest
method Connection.prototype.connect
Re-export
import { Connection } from "https://deno.land/x/neo4j_lite_client@4.4.6/mod.ts";

Connect to the target address, negotiate Bolt protocol and send initialization message.

Parameters

userAgent: string

the user agent for this driver.

authToken: any

the object containing auth information.

Returns

Promise<Connection>

promise resolved with the current connection if connection is successful. Rejected promise otherwise.