OptionaladapterPersistence adapter for cross-instance and horizontal-scale scenarios. When provided, the jar loads cookies from the adapter at init and saves after every mutation.
OptionalcookiesPre-seed the jar with these cookies before any requests. Useful for restoring a session from storage without a full adapter.
OptionalexcludeDomains or patterns to exclude from cookie handling. Useful for third-party CDN requests that shouldn't receive cookies.
OptionalhttpSet to false if the client is a non-HTTP API (e.g., a script reading cookies directly). Causes httpOnly cookies to be excluded. Default: true.
OptionalmaxMaximum total cookies across all domains. Default: 3000 (RFC 6265 §6.1 minimum).
OptionalmaxMaximum bytes per cookie (name + value + attributes). Cookies exceeding this are silently dropped. Default: 4096 (RFC 6265 §6.1 minimum).
OptionalmaxMaximum cookies per domain. Excess cookies are evicted oldest-last-access-time first. Default: 50 (RFC 6265 §6.1 minimum).
OptionalsyncRe-load from adapter before every outgoing request. Use this when multiple FetchEngine instances share a backend (Redis). Default: false (adapter is only loaded at init).
Configuration for cookiePlugin().