FormExtractable class final

Decodes an application/x-www-form-urlencoded body.

A GET or HEAD request has no body, so those read the query string instead and the same handler works for both.

Implemented types

Constructors

FormExtractable({int limit = defaultBodyLimit})
Decodes the form body.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
limit int
The maximum body size, in bytes.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

extract(Request request) Future<Result<FormMap, 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