Creates a new instance of Connection.
The resource uri.
Optionaloptions: ConnectionOptions = {}The connection options.
ReadonlyoptionsThe connection options.
ReadonlyurlThe resource uri.
StaticprefixedCloses the Connection.
Calls each of the listeners registered for a given event.
Return an array listing the events for which the emitter has registered listeners.
Return the number of listeners listening to a given event.
Return the listeners registered for a given event.
Add a listener for a given event.
Optionalcontext: anyAdd a one-time listener for a given event.
Optionalcontext: anyOpens the connection, if its not already opened.
Remove all listeners, or those of the specified event.
Optionalevent: string | symbolRemove the listeners of a given event.
Optionalfn: (...args: any[]) => voidOptionalcontext: anyOptionalonce: boolean
Represents a single connection to a Gremlin Server.