import { FormDataReader } from "https://dotland-vbqsvsrpfncg.deno-staging.dev/x/oak@v11.1.0/multipart.ts?p=prototype.read&s=FormDataReader";
Reads the multipart body of the response and resolves with an object which contains fields and files that were part of the response.
Note: this method handles multiple files with the same name
attribute
in the request, but by design it does not handle multiple fields that share
the same name
. If you expect the request body to contain multiple form
data fields with the same name, it is better to use the .stream()
method
which will iterate over each form data field individually.
Parameters
optional
options: FormDataReadOptions[src]Returns
Promise<FormDataBody>[src]