Skip to main content
interface Deno.ServeUnixOptions

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.