Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
class Connect
import { Connect } from "https://deno.land/x/natsws@v1.28.0/src/nats-base-client.ts";

Constructors

new
Connect(
transport: { version: string; lang: string; },
nonce?: string,
)

Properties

optional
auth_token: string
optional
echo: boolean
optional
headers: boolean
optional
jwt: string
lang: string
optional
name: string
optional
nkey: string
optional
no_responders: boolean
optional
pass: string
optional
pedantic: boolean
protocol: number
optional
sig: string
optional
tls_required: boolean
optional
user: string
optional
verbose: boolean
version: string