Creates an instance of WebsocketRoute.
The method name for the route.
The configuration object for the object method.
The property key of the target object.
The target object.
Optional modifiesAuthentication: booleanIndicates whether the route modifies authentication.
Protected authenticatorProtected childrenPrivate decoratorProtected isProtected methodPrivate Optional modifiesIndicates whether the route modifies authentication.
Private modifiesProtected objThe configuration object for the object method.
Returns the child routes of the current route.
Returns the decorated function with added authentication checks.
Returns the decorated function with added authentication checks.
Rest ...data: any[]Returns the method name for the route.
Sets the method name for the route.
The method name.
Checks if the decorated function has an authenticator.
Adds a child route to the current route.
The child route to add.
Protected authenticateOptional requestData: anyBinds the decorator configuration reference to the WebSocket route.
The decorator configuration reference.
Protected callProtected
Calls the object method associated with the route and handles the response.
The WebSocket request.
Private checkPrivate handleRegisters the outbound methods whose data is potentially modified during the execution of this route.
The outbound routes that are potentially modified.
Optional filter: MessageFilterThe message filter.
Private resendPrivate
Triggers the execution of resending processes of updated data.
The response data from the original call. It can be used within filter methods.
The WebSocket connection.
Routes the WebSocket request based on the provided path. Sends error message to the connection if the route call fails.
The WebSocket request.
The path to route.
Protected routeProtected
Routes the WebSocket request to the children routes.
The WebSocket request.
The path to route.
Protected sendProtected
Sends an error message to the WebSocket connection.
The WebSocket connection.
The error message.
Sets the authenticator for the decorated function.
The websocket authenticator.
Generated using TypeDoc
Represents a WebSocket route that can be used for routing and handling WebSocket requests.