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

Properties

hostname: string
port: number
listen: string
src: string
tlsName: string

Methods

resolve(opts: Partial<{ fn: DnsResolveFn; randomize: boolean; debug?: boolean; resolve?: boolean; }>): Promise<Server[]>