CookieJar class abstract

CookieJar is a cookie container and manager for HTTP requests.

Implementers

Constructors

CookieJar({bool ignoreExpires = false})
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
ignoreExpires bool
Whether the CookieJar should ignore expired cookies during saves/loads.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

delete(Uri uri, [bool withDomainSharedCookie = false]) Future<void>
Delete cookies with the specified uri.
deleteAll() Future<void>
Delete all cookies in the CookieJar.
loadForRequest(Uri uri) Future<List<Cookie>>
Load the cookies for specified uri.
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 specified uri.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited