Private
Public Access
1
0

websocket: automatically reconnect if not heard from for a while

This commit is contained in:
2025-05-14 17:39:23 -07:00
parent 4ad9613827
commit 83eb97fd9c
5 changed files with 80 additions and 23 deletions

View File

@@ -46,5 +46,5 @@ pub trait APIInterface {
async fn authenticate(&mut self, credentials: Credentials) -> Result<JwtToken, Self::Error>;
// (WS) /updates
async fn open_event_socket(&mut self) -> Result<impl EventSocket, Self::Error>;
async fn open_event_socket(&mut self, update_seq: Option<u64>) -> Result<impl EventSocket, Self::Error>;
}