Deno.ServeUnixOptions
interface ServeUnixOptions {
onListen?: (params: {
path: string;
}) => void;path: string;
signal?: AbortSignal;
}§Properties
§
onListen?: (params: {
[src]path: string;
}) => voidThe callback which is called when the server starts listening.
§
signal?: AbortSignal
[src]An AbortSignal
to close the server and all connections.