Interface ListenOptions

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

Hierarchy (view full)

Properties

backlog?: number
exclusive?: boolean
host?: string
ipv6Only?: boolean

Default

false
path?: string
port?: number
readableAll?: boolean
signal?: AbortSignal

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

writableAll?: boolean