Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Server

import type { Server } from "https://raw.githubusercontent.com/nats-io/nats.deno/v1.28.2/nats-base-client/internal_mod.ts";
interface Server {
hostname: string;
listen: string;
port: number;
src: string;
tlsName: string;
resolve(opts: Partial<{
fn: DnsResolveFn;
randomize: boolean;
debug?: boolean;
resolve?: boolean;
}
>
): Promise<Server[]>;
}

§Properties

§
hostname: string
[src]
§
listen: string
[src]
§
port: number
[src]
§
src: string
[src]
§
tlsName: string
[src]

§Methods

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