WeakEtag class

A weak Etag, that identifies the file/payload allowing tag collisions, but easy to generate.

  • Weak Etag requests can be cached, but prevents range requests caching.
  • See StrongEtag.
Inheritance

Constructors

WeakEtag(List<String> values, {String delimiter = ','})
WeakEtag.adler32(List<int> bytes)
factory
WeakEtag.crc32(List<int> bytes)
factory
WeakEtag.parse(String s, {String delimiter = ','})
factory

Properties

delimiter → String
final
hashCode → int
The hash code for this object.
no setteroverride
isEmpty → bool
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
tag → String
no setteroverride
values → List<String>
final

Methods

equals(Object? other) → bool
override
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