We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1bb9619 commit 606af6bCopy full SHA for 606af6b
content/security/rate-limiting.md
@@ -120,7 +120,7 @@ export class WsThrottlerGuard extends ThrottlerGuard {
120
121
There's a few things to keep in mind when working with WebSockets:
122
123
-- You cannot bind the guard with `APP_GUARD` or `app.useGlobalGuards()` due to how Nest binds global guards.
+- Guard cannot be registered with the `APP_GUARD` or `app.useGlobalGuards()`
124
- When a limit is reached, Nest will emit an `exception` event, so make sure there is a listener ready for this
125
126
> info **Hint** If you are using the `@nestjs/platform-ws` package you can use `client._socket.remoteAddress` instead.
0 commit comments