Expand description
Sessions and reusable session pools. Sessions and the session pool.
Expiry uses a persisted wall-clock timestamp instead of an Instant, so restarting a crawler
cannot silently renew sessions. Persistence is explicit rather than AutoSaved: the live cookie
jar remains authoritative instead of being duplicated behind another lock. Pools are created
before crawler storage is available, so
SessionPool::attach_persistence bridges that
lifecycle gap instead of requiring storage in
SessionPool::new.
Structs§
- Session
- Cookie, score, and user-data state associated with a crawling identity.
- Session
Config - Limits and scoring behavior for one session.
- Session
Id - Stable identifier for a crawler session.
- Session
Pool - A bounded collection of reusable crawler sessions.
- Session
Pool Options - Session pool capacity, creation, and persistence settings.
- Session
Token - Stable token used to keep fingerprint generation consistent within a session.
Constants§
- SESSION_
POOL_ PERSIST_ KEY - Default key used to persist the session pool.