Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/windmill/node_modules/evt/lib/types/lib.dom.d.ts>FormData

Windmill deno client (separated from the main repo because most of the code is auto-generated from the openapi and not worth committing)
Go to Latest
interface FormData
import { type FormData } from "https://deno.land/x/windmill@v1.333.5/node_modules/evt/lib/types/lib.dom.d.ts";

Provides a way to easily construct a set of key/value pairs representing form fields and their values, which can then be easily sent using the XMLHttpRequest.send() method. It uses the same format a form would use if the encoding type were set to "multipart/form-data".

Methods

append(
name: string,
value: string | Blob,
fileName?: string,
): void
delete(name: string): void
get(name: string): FormDataEntryValue | null
getAll(name: string): FormDataEntryValue[]
has(name: string): boolean
set(
name: string,
value: string | Blob,
fileName?: string,
): void
forEach(callbackfn: (
key: string,
parent: FormData,
) => void
, thisArg?: any
): void