Options
All
  • Public
  • Public/Protected
  • All
Menu

Lifecycle owning a WebSocket connection wrt message sending

Hierarchy

  • QueuingWebSocketLifecycle

Implements

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

Private Readonly messages

messages: TinyQueue<any>

Private timer

timer: Timer

Private ws

ws: WebSocket

Methods

connected

  • connected(): boolean

get

  • get(): WebSocket

Private init

  • init(): void

reset

  • reset(): void

send

  • send(msg: any): void

set

  • set(ws: WebSocket): void

Generated using TypeDoc