CookieStore class

A Store implementation that uses cookies to store session data.

Implemented types

Constructors

CookieStore({required List<SecureCookie> codecs, Options? defaultOptions})
Creates a new CookieStore instance.

Properties

defaultOptions Options
Default options for sessions created by this store.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
read(Request request, String name) Future<Session>
Reads an existing session or creates a new one if it does not exist.
override
toString() String
A string representation of this object.
inherited
write(Request request, Response response, Session session) Future<void>
Writes the session data to the underlying storage.
override

Operators

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