websocketstream-explainer
websocketstream-explainer copied to clipboard
Glitch demo use wrong API
I'm not sure if this is the right place to report, but the demo on Glitch linked to from https://developer.chrome.com/docs/capabilities/web-apis/websocketstream does
const { ... } = await wss.connection;
while the correct API seems to be
const { ... } = await wss.opened;
Thanks! I will update it.
Duh, past me thought of updating the article, but forgot to reflect the change in the demo. It's fixed now. Thanks for the heads-up!
No problem :) It looks good now, thanks. I'll let you close the issue.