Skip to content

BodyInit

Values

fromArrayBuffer

let fromArrayBuffer: ArrayBuffer.t => WebAPI.FetchAPI.bodyInit

Parameters

ArrayBuffer.t

Return type

WebAPI.FetchAPI.bodyInit

fromBlob

let fromBlob: WebAPI.FileAPI.blob => WebAPI.FetchAPI.bodyInit

fromDataView

let fromDataView: DataView.t => WebAPI.FetchAPI.bodyInit

Parameters

DataView.t

Return type

WebAPI.FetchAPI.bodyInit

fromFile

let fromFile: WebAPI.FileAPI.file => WebAPI.FetchAPI.bodyInit

fromFormData

let fromFormData: WebAPI.FetchAPI.formData => WebAPI.FetchAPI.bodyInit

fromReadableStream

let fromReadableStream: WebAPI.FileAPI.readableStream<
't,
> => WebAPI.FetchAPI.bodyInit

fromString

let fromString: string => WebAPI.FetchAPI.bodyInit

Parameters

string

Return type

WebAPI.FetchAPI.bodyInit

fromTypedArray

let fromTypedArray: TypedArray.t<'t> => WebAPI.FetchAPI.bodyInit

Parameters

TypedArray.t

Return type

WebAPI.FetchAPI.bodyInit

fromURLSearchParams

let fromURLSearchParams: WebAPI.FetchAPI.urlSearchParams => WebAPI.FetchAPI.bodyInit