Set an explicit session ID (auto-generated UUID if not set)
(mut self, id: impl Into<String>)
| 297 | |
| 298 | /// Set an explicit session ID (auto-generated UUID if not set) |
| 299 | pub fn with_session_id(mut self, id: impl Into<String>) -> Self { |
| 300 | self.session_id = Some(id.into()); |
| 301 | self |
| 302 | } |
| 303 | |
| 304 | /// Tag the session with a host-defined tenant id. Opaque to the |
| 305 | /// framework — propagated to `SessionData`, hooks, and traces. |
no outgoing calls