interface ListenOptions {
    signal?: AbortSignal;
    backlog?: number;
    exclusive?: boolean;
    host?: string;
    ipv6Only?: boolean;
    reusePort?: boolean;
    path?: string;
    port?: number;
    readableAll?: boolean;
    writableAll?: boolean;
}

Hierarchy (view full)

Properties

signal?: AbortSignal

When provided the corresponding AbortController can be used to cancel an asynchronous action.

backlog?: number
exclusive?: boolean
host?: string
ipv6Only?: boolean
false
reusePort?: boolean
path?: string
port?: number
readableAll?: boolean
writableAll?: boolean