Class WebSocket2023Storer

Keeps track of the WebSockets that were opened for a WebSocketChannel2023 channel. The WebSockets are stored in the map using the identifier of the matching channel.

cleanupTimer defines in minutes how often the stored WebSockets are closed if their corresponding channel has expired. Defaults to 60 minutes. Open WebSockets will not receive notifications if their channel expired.

Hierarchy

Constructors

Properties

logger: Logger = ...
socketMap: SetMultiMap<string, WebSocket>

Methods