Set a session store for persistence
(mut self, store: Arc<dyn crate::store::SessionStore>)
| 265 | |
| 266 | /// Set a session store for persistence |
| 267 | pub fn with_session_store(mut self, store: Arc<dyn crate::store::SessionStore>) -> Self { |
| 268 | self.session_store = Some(store); |
| 269 | self |
| 270 | } |
| 271 | |
| 272 | /// Use a file-based session store at the given directory |
| 273 | pub fn with_file_session_store(mut self, dir: impl Into<PathBuf>) -> Self { |
no outgoing calls