Deno logo
DeployManualBlogAPIStandard LibraryThird Party Modules

Deno CLI APIs (unstable)

Version

latest

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]
Manual
API
Standard Library
Third Party Modules
Benchmarks
Artwork
Blog
Translations
System Status
Companies interested in Deno