Skip to main content
Go to Latest
method MultipartReader.prototype.readForm
import { MultipartReader } from "https://deno.land/std@0.34.0/mime/mod.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

maxMemory: number

Returns

Promise<{ [key: string]: null | string | FormFile; }>