Module

std/net/mod.ts>GetAvailablePortOptions

The Deno Standard Library
Latest
interface GetAvailablePortOptions
import { type GetAvailablePortOptions } from "https://dotland.deno.dev/std@0.224.0/net/mod.ts";

Options for getAvailablePort.

Properties

optional
preferredPort: number

A port to check availability of first. If the port isn't available, fall back to another port.