mirror of
https://github.com/shiroyashik/sculptor.git
synced 2025-12-06 13:01:12 +03:00
Added a feature to send pings to subscribers via HTTP requests
This commit is contained in:
parent
81ab2ba724
commit
4bd9a2ab2e
4 changed files with 54 additions and 9 deletions
|
|
@ -78,7 +78,7 @@ async fn handle_socket(mut socket: WebSocket, state: AppState) {
|
|||
},
|
||||
};
|
||||
|
||||
debug!("[WebSocket{}] Raw: {newmsg:?}", owner.name());
|
||||
debug!("[WebSocket{}] MSG: {:?}, HEX: {}", owner.name(), newmsg, hex::encode(newmsg.to_vec()));
|
||||
|
||||
match newmsg {
|
||||
C2SMessage::Token(token) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue