Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface WebSocketClose

Hierarchy

  • WebSocketClose

Index

Properties

closeCode: undefined | number

The close code of the shutdown. This is the close code that was received from the remote client (either initiated remotely, or echoing our own sent close frame).

This may be undefined only if a close frame was received but did not contain any close code. If no close frame was received before the connection was lost (i.e. the connection was not cleanly closed) this event will not fire at all, and an 'abort' event will fire instead.

closeReason: string

The close reason of the shutdown.

streamId: string

The id of this websocket stream. This will match the id of the request, the initial connection response, and any other WebSocket events for the same connection stream.

tags: string[]
timingEvents: TimingEvents

Generated using TypeDoc