HeaderMapExtractable class final

Extracts every header as a map with lower-case keys.

The keys are lower-cased on the way out because shelf's own header map is case-insensitive and a plain copy of it would not be.

Implemented types

Constructors

HeaderMapExtractable()
Reads all headers.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

extract(Request request) Future<Result<Map<String, String>, Rejection>>
Produces the value, or the rejection that stops the handler.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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