Skip to content

Commit

Permalink
docs(readme): use simple english (#316)
Browse files Browse the repository at this point in the history
Signed-off-by: Frazer Smith <[email protected]>
  • Loading branch information
Fdawgs authored Dec 29, 2024
1 parent c82bd1b commit e6b2811
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ Note: Fastify's `onError` and error handlers registered by `setErrorHandler` wil

### Custom preClose hook:

By default, all ws connections are closed when the server closes. If you wish to modify this behaviour, you can pass your own `preClose` function.
By default, all ws connections are closed when the server closes. If you wish to modify this behavior, you can pass your own `preClose` function.

Note that `preClose` is responsible for closing all connections and closing the websocket server.

Expand Down

0 comments on commit e6b2811

Please sign in to comment.