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

HostAddress

import type { HostAddress } from "https://googleapis.deno.dev/v1/datastream:v1.ts";

A HostAddress represents a transport end point, which is the combination of an IP address or hostname and a port number.

interface HostAddress {
hostname?: string;
port?: number;
}

§Properties

§
hostname?: string
[src]

Required. Hostname for the connection.

§
port?: number
[src]

Optional. Port for the connection.