Skip to content

Commit 4e66d94

Browse files
authored
Merge pull request #24 from ntzrbtr/main
Add support for "parse" hook.
2 parents e49bcda + 43419e3 commit 4e66d94

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

docs/patterns/websocket.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,8 +168,11 @@ drain(
168168
): this
169169
```
170170

171+
## parse
172+
`Parse` middleware to parse the request before upgrading the HTTP connection to WebSocket.
173+
171174
## beforeHandle
172-
`Before Handle` middleware which execute before upgrade HTTP connection to WebSocket.
175+
`Before Handle` middleware which execute before upgrading the HTTP connection to WebSocket.
173176

174177
Ideal place for validation.
175178

0 commit comments

Comments
 (0)