From bfe1b2a623eb881a107ccf9a95042e8b22933687 Mon Sep 17 00:00:00 2001 From: yuhao <76569582+yuhao423@users.noreply.github.com> Date: Fri, 5 Jul 2024 01:37:58 +0800 Subject: [PATCH] [doc] Remove unnecessary period (#2240) --- doc/ws.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/ws.md b/doc/ws.md index 2fbdbb79d..a1a20203f 100644 --- a/doc/ws.md +++ b/doc/ws.md @@ -257,7 +257,7 @@ receives an `Error` if the server is already closed. - `request` {http.IncomingMessage} The client HTTP GET request. - `socket` {stream.Duplex} The network socket between the server and client. - `head` {Buffer} The first packet of the upgraded stream. -- `callback` {Function}. +- `callback` {Function} Handle a HTTP upgrade request. When the HTTP server is created internally or when the HTTP server is passed via the `server` option, this method is called