How to implement websockets #3323
Unanswered
DenuxPlays
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey,
I wrote an API in actix and I also created and event system that we use for handling intern events. (for example if an entity was created etc.)
It is based on the Tokio sync channels.
I've wondered what is the best way to implement web sockets on top of it?
I saw a lot of implementations on top of actors but our event system is not actor based.
I also saw the actix-ws crate but it doesn't seem to be maintained anymore.
So is there any other technology to use (like socket.io) or basically how/what is the best/a clean way to implement web sockets?
Edit:
If you need more information the whole backend ist open source:
https://github.com/financrr/financrr-app
Beta Was this translation helpful? Give feedback.
All reactions