Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
class FormData
import { FormData } from "https://deno.land/x/darkflare@v5.0.3/types/mod.d.ts";

Constructors

new
FormData()

Methods

append(name: string, value: string): void
append(
name: string,
value: Blob,
filename?: string,
): void
delete(name: string): void
entries(): IterableIterator<[string, File | string]>
forEach<This = unknown>(callback: (
this: This,
value: File | string,
key: string,
parent: FormData,
) => void
, thisArg?: This
): void
get(name: string): File | string | null
getAll(name: string): (File | string)[]
has(name: string): boolean
keys(): IterableIterator<string>
set(name: string, value: string): void
set(
name: string,
value: Blob,
filename?: string,
): void
values(): IterableIterator<string | File>
[Symbol.iterator](): IterableIterator<[string, File | string]>