Options
All
  • Public
  • Public/Protected
  • All
Menu

Module customapp-rxjs-websocket

Install

yarn add customapp-rxjs-websocket

The documentation is not complete, but main points are stated here WebSocketControllerConfig

Index

Type Aliases

BufferOverflowStrategy: "dropOld" | "dropNew"

Describes what to do with messages in the buffer, when it overflows.

Variables

defaultReconnectInterval: 10000 = 10000

Need this to prevent an overload. The time between socket happening to be closed and the next try to open.

defaultRequestTimeout: number = ...
defaultWebSocketBufferOverflow: BufferOverflowStrategy = 'dropOld'
defaultWebSocketMessageBufferSize: 2 = 2

Prepared for most common case: one slot for data request and one for subscription request for that data.

Functions

  • makeWsUrl(relativeUrl: string): string

Generated using TypeDoc