Guards
There's one difference between regular guards and the websockets guards.
The websockets guards takes the data passed from the client instead of expressjs request object as an argument of the canActivate() function.
Also, when the guard returns false, it throws WsException (not HttpException).
Hint TheWsExceptionclass is available within the@nestjs/websocketspackage.