From c828fe3f3b18cf5c967e712d9c27f310fe2a6010 Mon Sep 17 00:00:00 2001 From: Vse Mozhe Buty Date: Sun, 29 Nov 2020 02:45:50 +0200 Subject: [PATCH] Fix typo in 5.11 (WebSocket) --- 5-network/11-websocket/article.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/5-network/11-websocket/article.md b/5-network/11-websocket/article.md index c9febf33..aab6d31b 100644 --- a/5-network/11-websocket/article.md +++ b/5-network/11-websocket/article.md @@ -238,7 +238,7 @@ socket.onclose = event => { Most common code values: - `1000` -- the default, normal closure (used if no `code` supplied), -- `1006` -- no way to such code manually, indicates that the connection was lost (no close frame). +- `1006` -- no way to set such code manually, indicates that the connection was lost (no close frame). There are other codes like: