Skip to content

FormData

Values

append

let append: (
WebAPI.FetchAPI.formData,
~name: string,
~value: string,
) => unit

Parameters

WebAPI.FetchAPI.formData string string

Return type

unit

append2

let append2: (
WebAPI.FetchAPI.formData,
~name: string,
~blobValue: WebAPI.FileAPI.blob,
~filename: string=?,
) => unit

Parameters

WebAPI.FetchAPI.formData string WebAPI.FileAPI.blob option< string >

Return type

unit

delete

let delete: (WebAPI.FetchAPI.formData, string) => unit

Parameters

WebAPI.FetchAPI.formData string

Return type

unit

get

let get: (WebAPI.FetchAPI.formData, string) => WebAPI.FileAPI.file

Parameters

WebAPI.FetchAPI.formData string

Return type

WebAPI.FileAPI.file

get2

let get2: (WebAPI.FetchAPI.formData, string) => string

Parameters

WebAPI.FetchAPI.formData string

Return type

string

getAll

let getAll: (
WebAPI.FetchAPI.formData,
string,
) => array<WebAPI.FetchAPI.formDataEntryValue>

Parameters

WebAPI.FetchAPI.formData string

Return type

array< WebAPI.FetchAPI.formDataEntryValue >

has

let has: (WebAPI.FetchAPI.formData, string) => bool

Parameters

WebAPI.FetchAPI.formData string

Return type

bool

make

let make: (
~form: WebAPI.DOMAPI.htmlFormElement=?,
~submitter: WebAPI.DOMAPI.htmlElement=?,
) => WebAPI.FetchAPI.formData

set

let set: (
WebAPI.FetchAPI.formData,
~name: string,
~value: string,
) => unit

Parameters

WebAPI.FetchAPI.formData string string

Return type

unit

set2

let set2: (
WebAPI.FetchAPI.formData,
~name: string,
~blobValue: WebAPI.FileAPI.blob,
~filename: string=?,
) => unit

Parameters

WebAPI.FetchAPI.formData string WebAPI.FileAPI.blob option< string >

Return type

unit