Skip to main content
Go to Latest
interface GetAvailablePortOptions
import { type GetAvailablePortOptions } from "https://deno.land/std@0.218.2/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.