Add endpoints for tags
This commit is contained in:
parent
c8f40284ef
commit
8d996888bd
10 changed files with 141 additions and 18 deletions
emgauwa-core/src/handlers/v1/ws
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue