Skip to content

Commit 2702211

Browse files
Update gateways.md
1 parent d6586b4 commit 2702211

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

content/websockets/gateways.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,7 @@ Also, you can retrieve the corresponding namespace using the `namespace` attribu
246246
```typescript
247247
@WebSocketServer({ namespace: 'my-namespace' })
248248
namespace: Namespace;
249+
```
249250

250251
> warning **Notice** The `@WebSocketServer()` decorator is imported from the `@nestjs/websockets` package.
251252

0 commit comments

Comments
 (0)