Skip to content

Commit

Permalink
Update gateways.md
Browse files Browse the repository at this point in the history
  • Loading branch information
kamilmysliwiec authored Jul 2, 2024
1 parent d6586b4 commit 2702211
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions content/websockets/gateways.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 2702211

Please sign in to comment.