Skip to content

Commit a20d123

Browse files
authored
Update pipes.md
fix a typo, web sockets instead of microservice
1 parent c1ec97f commit a20d123

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/websockets/pipes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
### Pipes
22

3-
There is no fundamental difference between [regular pipes](/pipes) and microservice pipes. The only difference is that instead of throwing `HttpException`, you should use `WsException`. In addition, all pipes will be only applied to the `data` parameter (because validating or transforming `client` instance is useless).
3+
There is no fundamental difference between [regular pipes](/pipes) and web sockets pipes. The only difference is that instead of throwing `HttpException`, you should use `WsException`. In addition, all pipes will be only applied to the `data` parameter (because validating or transforming `client` instance is useless).
44

55
> info **Hint** The `WsException` class is exposed from `@nestjs/websockets` package.
66

0 commit comments

Comments
 (0)