Replies: 5 comments 5 replies
-
@helto4real can you add an example for this one? Will add it to examples and CI. |
Beta Was this translation helpful? Give feedback.
4 replies
-
#7922 now fixes this and adds an example |
Beta Was this translation helpful? Give feedback.
0 replies
-
websocket_server_showcase-2021-01-06_14.17.56.mp4 |
Beta Was this translation helpful? Give feedback.
0 replies
-
@helto4real this is awesome, thank you ... |
Beta Was this translation helpful? Give feedback.
1 reply
-
Thank you very much! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello guys,
I have a problem concerning x/websocket. I tried to figure out a way to send messages to all users when any client sends a message using the websocket example ping.v. I removed the client stuff so there is only a server and one can connect via js or something like this.
Trying to find a solution I thought about adding the client to an array upon connecting. I had a hard time implementing this, and I am still wondering whether there are any easier possibilities.
I am really new to Vlang and wondering how this works. For that reason, I would really appreciate any code examples on how to realize my problem.
Thanks in advance 😄
Beta Was this translation helpful? Give feedback.
All reactions