ngATL Conference Atlanta, GA

NestJS on 2018 ngATL Conference Atlanta, GA

NestJS 2018 ngATL

LEARN MORE

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 The WsException class is available within the @nestjs/websockets package.

Sponsors

Nest is an MIT-licensed open source project. It can grow thanks to the support by these awesome people. If you'd like to join them, please read more here. Thanks!

Become a sponsor