Commit 2817b6d
docs(streaming): document WS close code 1006 as RFC-reserved client-side code (#200)
Add code 1006 to the close code tables in both the WebSocket streaming guide
and the WebSocket API reference, with a Callout explaining that it is never
transmitted over the wire — the client WebSocket library generates it locally
on abnormal TCP teardown (network loss, process kill). Developers commonly
mistake it for a server-sent code; the callout surfaces this before they waste
time debugging the server side.
Co-authored-by: root <root@api-dev.hs.chocopancake.com>
Co-authored-by: Paperclip <noreply@paperclip.ing>1 parent e6814ea commit 2817b6d
2 files changed
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
590 | 590 | | |
591 | 591 | | |
592 | 592 | | |
| 593 | + | |
593 | 594 | | |
594 | 595 | | |
595 | 596 | | |
596 | 597 | | |
| 598 | + | |
| 599 | + | |
| 600 | + | |
| 601 | + | |
597 | 602 | | |
598 | 603 | | |
599 | 604 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
155 | 155 | | |
156 | 156 | | |
157 | 157 | | |
| 158 | + | |
158 | 159 | | |
159 | 160 | | |
160 | 161 | | |
161 | 162 | | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
162 | 167 | | |
163 | 168 | | |
164 | 169 | | |
0 commit comments