Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • WebSocketOpenOptions

Index

Properties

autoReconnect?: { interval: any; shouldReconnect?: any }

If set, the socket will try to reconnect after being closed In general, you want to set this, cos it is the main feature of the package.

Type declaration

doNotThrowWhenOpened?: boolean

If you try to open an already opened socket, the error will be thrown by default. This is cos it usually means, that there is some error in the code, that uses the WebSocketController. WebSocketController itself is designed to handle reconnects, authorization and subscriptions.

Generated using TypeDoc