Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Glitch demo use wrong API #24

Open
ssvendsen opened this issue Aug 19, 2024 · 3 comments
Open

Glitch demo use wrong API #24

ssvendsen opened this issue Aug 19, 2024 · 3 comments

Comments

@ssvendsen
Copy link

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;

@ricea
Copy link
Owner

ricea commented Aug 21, 2024

Thanks! I will update it.

@tomayac
Copy link
Contributor

tomayac commented Aug 21, 2024

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!

Screenshot 2024-08-21 at 11 36 08

@ssvendsen
Copy link
Author

No problem :) It looks good now, thanks. I'll let you close the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants