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

x/ayonli_jsext/lib.deno.d.ts>Deno.ServeUnixOptions

A JavaScript extension package for building strong and modern applications.
Latest
interface Deno.ServeUnixOptions
import { type Deno } from "https://deno.land/x/ayonli_jsext@v0.9.72/lib.deno.d.ts";
const { ServeUnixOptions } = Deno;

Properties

path: string

The unix domain socket path to listen on.

optional
signal: AbortSignal

An AbortSignal to close the server and all connections.

optional
onError: (error: unknown) => Response | Promise<Response>

The handler to invoke when route handlers throw an error.

optional
onListen: (params: { path: string; }) => void

The callback which is called when the server starts listening.