WebSocketStreamOptions

interface ยท experimental

interface WebSocketStreamOptions

UNSTABLE: New API, yet to be vetted.

Requires the --unstable-net flag, or "unstable": ["net"] in ende.json.

Properties

protocols

protocols?: string[]

signal

signal?: AbortSignal

headers

headers?: HeadersInit