ServerInfo
import type { ServerInfo } from "https://raw.githubusercontent.com/nats-io/nats.deno/v1.28.0/nats-base-client/internal_mod.ts";
ServerInfo represents information from the connected server
interface ServerInfo {
auth_required?: boolean;
client_id: number;
client_ip?: string;
cluster?: string;
connect_urls?: string[];
git_commit?: string;
go: string;
headers?: boolean;
host: string;
jetstream?: boolean;
ldm?: boolean;
max_payload: number;
nonce?: string;
port: number;
proto: number;
server_id: string;
server_name: string;
tls_available?: boolean;
tls_required?: boolean;
tls_verify?: boolean;
version: string;
}