Update the last activity timestamp
(&mut self)
| 372 | |
| 373 | /// Update the last activity timestamp |
| 374 | pub fn update_activity(&mut self) { |
| 375 | self.last_activity = chrono::Utc::now(); |
| 376 | } |
| 377 | |
| 378 | /// Check if the session is expired (1 hour timeout) |
| 379 | pub fn is_expired(&self) -> bool { |
no outgoing calls
no test coverage detected