import { MultipartReader } from "https://dotland.deno.dev/std@0.119.0/mime/multipart.ts";
Reader for parsing multipart/form-data
Properties
readonly
bufReader: BufReaderMethods
private
isBoundaryDelimiterLine(line: Uint8Array): booleanprivate
isFinalBoundary(line: Uint8Array): booleanprivate
nextPart(): Promise<PartReader | null>readForm(maxMemory?: number): Promise<MultipartFormData>
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.
readForm(options?: ReadFormOptions): Promise<MultipartFormData>
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.
readForm(maxMemoryOrOptions?: number | ReadFormOptions): Promise<MultipartFormData>