Fix typo in 5.11 (WebSocket)

This commit is contained in:
Vse Mozhe Buty 2020-11-29 02:45:50 +02:00 committed by GitHub
parent 6ec4c4fc99
commit c828fe3f3b
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: Most common code values:
- `1000` -- the default, normal closure (used if no `code` supplied), - `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: There are other codes like: