Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/deno/cli/tsc/dts/lib.deno.ns.d.ts>Deno.ServeUnixOptions

A modern runtime for JavaScript and TypeScript.
Latest
interface Deno.ServeUnixOptions
import { type Deno } from "https://deno.land/x/deno@v2.0.4/cli/tsc/dts/lib.deno.ns.d.ts";
const { ServeUnixOptions } = Deno;

Options that can be passed to Deno.serve to create a server listening on a Unix domain socket.

Properties

optional
transport: "unix"

The transport to use.

path: string

The unix domain socket path to listen on.