This constructor should not be called directly
the URL of the remote MillenniumDB server
the callback that will handle the received data
Private
_closingPrivate
Readonly
_onPrivate
Readonly
_onPrivate
_openPrivate
Readonly
_pendingPrivate
Readonly
_wsPrivate
_wsPrivate
_createCreate the WebSocket instance for the connection
the WebSocket instance
Private
_ensurePrivate
_safeWrite a request. If the connection is not established yet, it will be enqueued
a buffer containing the request
The WebSocket connection is the main class that holds a connection between the client and the server