Skip to content

Commit c828fe3

Browse files
authored
Fix typo in 5.11 (WebSocket)
1 parent 6ec4c4f commit c828fe3

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)