Skip to content

Commit 8e6ace0

Browse files
authored
Merge pull request #2325 from vsemozhetbyt/patch-7
Fix typo in 5.11 (WebSocket)
2 parents 6f7d9cf + c828fe3 commit 8e6ace0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

5-network/11-websocket/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ socket.onclose = event => {
238238
Most common code values:
239239

240240
- `1000` -- the default, normal closure (used if no `code` supplied),
241-
- `1006` -- no way to such code manually, indicates that the connection was lost (no close frame).
241+
- `1006` -- no way to set such code manually, indicates that the connection was lost (no close frame).
242242

243243
There are other codes like:
244244

0 commit comments

Comments
 (0)