docs-nestjs-com-websockets-interceptors...
docs-nestjs-com-websockets-interceptors...
Interceptors
There is no difference between regular interceptors and web sockets
interceptors. The following example uses a manually instantiated method-
scoped interceptor. Just as with HTTP based applications, you can also use
Design and
gateway-scoped interceptors (i.e., prefix the gateway class with a
Development tips in
@UseInterceptors() decorator). your inbox. Every
weekday.
ADS VIA CARBON
JS
Support us
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.
Principal Sponsors
Sponsors / Partners
Become a sponsor
Email address..