A websocket server and client framework supporting:
cargo add degen-websockets
See main.rs
### Custom messages
You can define your own inner messages to send through the socket server. They just need to implement Serialize/Deserialize and MessageReliability as follows:
```
struct MyCustomMessage {
color: String
}
impl MessageReliability for MyCustomMessage {
fn get_reliability_type(&self, msg_uuid:String) -> MessageReliabilityType{
return MessageReliabilityType::Reliable( msg_uuid )
}
}
```