CookieStore class

A store for Cookies

Constructors

CookieStore()

Properties

cookieMap Map<String, ClientCookie>
The actual storeage
getter/setter pair
cookies List<ClientCookie>
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
toReqHeader String
Returns a String representation that can be directly written http.Request header.
no setter

Methods

addFromHeader(String? setCookieLine) → void
Parses and adds all 'set-cookies' from http.Response to the Cookie store
addFromResponse(Response resp) → void
Parses and adds all 'set-cookies' from http.Response to the Cookie store
get(String name) ClientCookie?
Returns a cookie by name
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
String representation that is useful for debug printing
override

Operators

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