CookieHeader class final

A class representing the HTTP Cookie header.

This class manages the parsing and representation of cookies.

Constructors

CookieHeader.cookies(List<Cookie> cookies)
Constructs a CookieHeader instance with the specified cookies.
CookieHeader.parse(String value)
Parses the Cookie header value and returns a CookieHeader instance.
factory

Properties

cookies List<Cookie>
The list of cookies.
final
hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getCookie(String name) Cookie?
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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

Constants

codec → const HeaderCodec<CookieHeader>