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

PortRange

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

A PortRange defines a range of ports. Both first and last are inclusive. To specify a single port, both first and last should be the same.

interface PortRange {
first?: number;
last?: number;
}

§Properties

§
first?: number
[src]

Required. Starting port number for the current range of ports. Valid ports are 22, 80, and ports within the range 1024-65535.

§
last?: number
[src]

Required. Ending port number for the current range of ports. Valid ports are 22, 80, and ports within the range 1024-65535.