Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
class default
import { default } from "https://deno.land/x/neo4j_lite_client@4.4.6/bolt-connection/channel/browser/browser-channel.js";

Create a new WebSocketChannel to be used in web browsers.

Constructors

new
default(
config,
protocolSupplier?,
socketFactory?,
)

Create new instance

Methods

Remove active connection timeout, if any.

Set connection timeout on the given WebSocket, if configured.

Close the connection

setupReceiveTimeout(receiveTimeout)

Setup the receive timeout for the channel.

Not supported for the browser channel.

Start the receive timeout for the channel.

Stops the receive timeout for the channel.

write(buffer)

Write the passed in buffer to connection