Go to Latest
method MultipartReader.prototype.readForm
import { MultipartReader } from "https://dotland.deno.dev/std@0.119.0/mime/multipart.ts";

Read all form data from stream. If total size of stored data in memory exceed maxMemory, overflowed file data will be written to temporal files. String field values are never written to files. null value means parsing or writing to file was failed in some reason.

Parameters

optional
maxMemory: number

maximum memory size to store file in memory. bytes. @default 10485760 (10MB)

Read all form data from stream. If total size of stored data in memory exceed options.maxMemory, overflowed file data will be written to temporal files. String field values are never written to files. null value means parsing or writing to file was failed in some reason.

Parameters

optional
options: ReadFormOptions

options to configure the behavior of storing overflow file data in temporal files.

Parameters

optional
maxMemoryOrOptions: number | ReadFormOptions