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

Update the chat example to publish messages on the websocket connection #356

Open
stefan-toubia opened this issue Nov 9, 2022 · 3 comments
Labels
Milestone

Comments

@stefan-toubia
Copy link

I think the chat example would be a lot more valuable if the messages were published via the websocket connection instead of as separate HTTP request. I'm trying to migrate from gorilla/websockets but having a hard time figuring out how to both read from and write to a client from different threads. If not publishing the messages themselves, maybe a "typing" indicator when a user is typing in the input? Anything that demonstrates concurrent full duplex communication over websockets really.

@nhooyr nhooyr added the docs label Sep 28, 2023
@nhooyr nhooyr added this to the v1.9.0 milestone Sep 28, 2023
@KunalSin9h
Copy link
Contributor

@nhooyr i am experimenting with this lib, i would like to work on this, can you point me to resource which Stefan is talking about - which example?

@nhooyr
Copy link
Owner

nhooyr commented Oct 25, 2023

@KunalSin9h Appreciate the initiative but this isn't an issue I'm looking to have help on. I need to write and update the chat example myself. There will be too much back and forth with someone else. This is also something that needs to wait for #209 and #267.

The only issue I'm looking for help with is #16 currently.

@KunalSin9h
Copy link
Contributor

great

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

No branches or pull requests

3 participants