WebsocketRouter class handles routing for websocket requests.

Hierarchy

  • WebsocketRouter

Constructors

Properties

routes: WebsocketRoute[] = []
standaloneRoutes: StandaloneWebsocketRoute[] = []

Accessors

Methods

  • Loads the decorator configuration for all WebSocket routes. Iterates through each route and invokes the loadDecoratorConfig method to load the configuration.

    Returns void

  • Removes a WebSocket route if it exists.

    Parameters

    • method: string

      The method name of the route to remove.

    Returns void

Generated using TypeDoc