websocket: automatically reconnect if not heard from for a while
This commit is contained in:
@@ -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>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user