Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • FormDataBuilder

Index

Constructors

constructor

Properties

Private fd

fd: FormData

Methods

append

  • append(name: string, value: string | Blob, fileName?: undefined | string): this

appends

  • appends(obj: Record<string, string | Blob>): this

clear

  • clear(): this

delete

  • delete(name: string): this

deletes

  • deletes(...names: string[]): this

get

  • get(): FormData

set

  • set(name: string, value: string | Blob, fileName?: undefined | string): this

sets

  • sets(obj: Record<string, string | Blob>): this

Static formDataToArray

  • formDataToArray(fd: FormData): Array<[string, string | Blob]>

Static objToFormData

  • objToFormData(data: Record<string, string | Blob | any>): FormData

Generated using TypeDoc