diff --git a/content/websockets/gateways.md b/content/websockets/gateways.md index c82e5fec00..cb0eb8e32a 100644 --- a/content/websockets/gateways.md +++ b/content/websockets/gateways.md @@ -246,6 +246,7 @@ Also, you can retrieve the corresponding namespace using the `namespace` attribu ```typescript @WebSocketServer({ namespace: 'my-namespace' }) namespace: Namespace; +``` > warning **Notice** The `@WebSocketServer()` decorator is imported from the `@nestjs/websockets` package.