import { MultipartWriter } from "https://deno.land/std@0.76.0/mime/mod.ts";
Writer for creating multipart/form-data
Constructors
new
MultipartWriter(writer: Deno.Writer, boundary?: string)Properties
private
bufWriter: BufWriterMethods
private
createPart(headers: Headers): Deno.Writerprivate
flush(): Promise<void>close(): Promise<void>
Close writer. No additional data can be written to stream
createFormField(field: string): Deno.Writer
createFormFile(field: string, filename: string): Deno.Writer
formDataContentType(): string
writeField(field: string, value: string): Promise<void>
writeFile(): Promise<void>