Fix typo in 5.11 (WebSocket)
This commit is contained in:
parent
6ec4c4fc99
commit
c828fe3f3b
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue