From e6b2811c627000b4040c9d4e3546c2f8a74b0239 Mon Sep 17 00:00:00 2001 From: Frazer Smith Date: Sun, 29 Dec 2024 20:24:39 +0000 Subject: [PATCH] docs(readme): use simple english (#316) Signed-off-by: Frazer Smith --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index bab14a5..5676473 100644 --- a/README.md +++ b/README.md @@ -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.