websocket-chat-server-rs
is a basic live chat server implemented in Rust.
To run:
cargo run
When running websocket-chat-server-rs
exposes one websocket endpoint at http://localhost:23234/ws/chat
.
Messages are formed as follows:
{
"type": "Message",
"user": "<user_id>",
"content": "<content string>"
}
Postman has a good websocket client for testing.