WebSocketCloseInfo

interface ยท experimental

interface WebSocketCloseInfo

UNSTABLE: New API, yet to be vetted.

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

Properties

closeCode

closeCode?: number

reason

reason?: string