Minor fixup of websocket example logging text. (#910)

This commit is contained in:
Simon Sellar
2022-04-06 10:33:34 +00:00
committed by GitHub
parent 4c936dbb52
commit 59007d6111
+2 -2
View File
@@ -80,10 +80,10 @@ async fn handle_socket(mut socket: WebSocket) {
if let Ok(msg) = msg {
match msg {
Message::Text(t) => {
println!("client send str: {:?}", t);
println!("client sent str: {:?}", t);
}
Message::Binary(_) => {
println!("client send binary data");
println!("client sent binary data");
}
Message::Ping(_) => {
println!("socket ping");