HiveCookieJar class
A cookie storage implementation using Hive with optional encryption support.
Constructors
- HiveCookieJar({required HiveCookieStorage storage, bool persistSession = true, bool ignoreExpires = false, bool deleteHostCookiesWhenLoadFailed = true})
- A cookie storage implementation using Hive with optional encryption support.
Properties
- deleteHostCookiesWhenLoadFailed → bool
-
finalinherited
-
domainCookies
→ Map<
String, Map< String, Map< >String, SerializableCookie> > -
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
-
hostCookies
→ Map<
String, Map< String, Map< >String, SerializableCookie> > -
no setterinherited
- ignoreExpires → bool
-
Whether the
CookieJar
should ignore expired cookies during saves/loads.finalinherited - persistSession → bool
-
Whether persisting cookies without "expires" or "max-age" attribute.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- storage → Storage
-
finalinherited
Methods
-
delete(
Uri uri, [ ]) → Future< void> -
Delete cookies for specified
uri
. This API will delete all cookies for theuri.host
, it will ignored theuri.path
.inherited -
deleteAll(
) → Future< void> -
Delete all cookies files in the
storage
and the memory.inherited -
forceInit(
) → Future< void> -
inherited
-
loadForRequest(
Uri uri) → Future< List< Cookie> > -
Load the cookies for specified
uri
.inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
saveFromResponse(
Uri uri, List< Cookie> cookies) → Future<void> -
Save the
cookies
for specifieduri
.inherited -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited