MultipartExtractable class final

Decodes a multipart/form-data body.

Every part is buffered rather than streamed, because several @Part parameters have to read from one pass over the body. limit bounds the whole body, not each part, so it is not a good fit for large uploads.

Implemented types

Constructors

MultipartExtractable({int limit = defaultBodyLimit})
Decodes the multipart 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<MultipartForm, 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