Add endpoints for tags

This commit is contained in:
Tobias Reisinger 2023-11-30 03:24:13 +01:00
parent c8f40284ef
commit 8d996888bd
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
10 changed files with 141 additions and 18 deletions
emgauwa-core/src/handlers/v1/ws

View file

@ -106,9 +106,7 @@ impl ControllerWs {
}
}
/// helper method that sends ping to client every 5 seconds (HEARTBEAT_INTERVAL).
///
/// also this method checks heartbeats from client
// helper method that sends ping to client every 5 seconds (HEARTBEAT_INTERVAL).
fn hb(&self, ctx: &mut ws::WebsocketContext<Self>) {
ctx.run_interval(HEARTBEAT_INTERVAL, |act, ctx| {
// check client heartbeats