WebsocketControllerRouteConfiguration: {
    controllerMethod: string;
    event: string;
}

The configuration for a websocket controller route.

Type declaration

  • controllerMethod: string

    The name of the method on the controller that is responsible for handling messages to the websocket event.

  • event: string

    The websocket event to listen on.