Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/xdg/vendor/types/deno.d.ts>Deno.ListenOptions

Determine XDG Base Directory paths (OS/platform portable)
Go to Latest
interface Deno.ListenOptions
import { type Deno } from "https://deno.land/x/xdg@v10.3.0/vendor/types/deno.d.ts";
const { ListenOptions } = Deno;

Properties

port: number

The port to listen on.

optional
hostname: string

A literal IP address or host name that can be resolved to an IP address. If not specified, defaults to 0.0.0.0.