Websocket Chat #3
Labels
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: erin/lila-chat#3
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
Currently the http GET/POST method for the chat works, but slows down the frontend, and isn't the best way to do it. Websockets will speed up the frontend, prevent the backend from getting spammed, and will allow chat messages to be updated faster.
I'm going to try and implement them with the tokio-tungstenite crate, if I can figure it out. As Rocket doesn't currently support websockets, but has a similar thing in the
master
version, whichrocket_contrib
doesn't support yet.