Replies: 2 comments 3 replies
-
same question |
Beta Was this translation helpful? Give feedback.
0 replies
-
Here's an example of how to do that. The only "send" call in the below code is in a timer function. That means it sends data based on a timer instead of based on receiving something from the client. The timer function runs in the same thread as the uWebSockets loop which means it is thread-safe.
|
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi
How can I send data to client without request?
Beta Was this translation helpful? Give feedback.
All reactions