Deno.listen

UNSTABLE: new API, yet to be vetted.

Listen announces on the local transport address.

const listener = Deno.listen({ path: "/foo/bar.sock", transport: "unix" })

Requires allow-read and allow-write permission.

function listen(options: UnixListenOptions & {
transport: "unix";
}
): Listener;
§
listen(options: UnixListenOptions & {
transport: "unix";
}
): Listener
[src]

§Parameters

§
options: UnixListenOptions & {
transport: "unix";
}
[src]

§Return Type

§
Listener
[src]