Skip to content

Commit 50d99bc

Browse files
Merge pull request #1522 from okba1/patch-1
docs update pipes.md
2 parents c1ec97f + a20d123 commit 50d99bc

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)