Merge pull request #2325 from vsemozhetbyt/patch-7

Fix typo in 5.11 (WebSocket)
This commit is contained in:
Ilya Kantor 2020-11-29 11:14:54 +03:00 committed by GitHub
commit 8e6ace0d66
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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: