7 ms·
w3.org only mentions valid values of 0, 1 and 2? [0] [0] https://www.w3.org/TR/2009/WD-websockets-20091222/#dom-websocket-readystate https://www.w3.org/TR/2009
by johnnyApplePRNG 5y ago
w3.org only mentions valid values of 0, 1 and 2? [0]
[0] https://www.w3.org/TR/2009/WD-websockets-20091222/#dom-websocket-readystate https://www.w3.org/TR/2009/WD-websockets-20091222/#dom-webso...
- readflaggedcomm 5y agoThat's from 2009, and pops up a notice: This version is outdated! For the latest version, please look at https://www.w3.org/TR/websockets/. The current version does contain show a "CLOSED" state with value 3.
- johnnyApplePRNG 5y agoHad javascript disabled so I didn't see that popup. What a shame on a site that documents html! Thanks for pointing me in the right direction.