Function sysmonk::routes::websocket::session_handler

source ·
async fn session_handler(session: Session, duration: i64)
Expand description

Handles the session by closing it after a certain duration.

§Arguments

  • session - A reference to the Actix web Session object.
  • duration - Duration in seconds to keep the session alive.