Response
Values
arrayBuffer
letarrayBuffer:WebAPI.FetchAPI.response=>promise<ArrayBuffer.t>blob
letblob:WebAPI.FetchAPI.response=>promise<WebAPI.FileAPI.blob>bytes
letbytes:WebAPI.FetchAPI.response=>promise<array<int>>clone
letclone:WebAPI.FetchAPI.response=>WebAPI.FetchAPI.responseerror
leterror:unit=>WebAPI.FetchAPI.responseformData
letformData:WebAPI.FetchAPI.response=>promise<WebAPI.FetchAPI.formData,>fromArrayBuffer
letfromArrayBuffer: (ArrayBuffer.t,~init:WebAPI.FetchAPI.responseInit=?,)=>WebAPI.FetchAPI.responseParameters
Stdlib.ArrayBuffer.t option<WebAPI.FetchAPI.responseInit >Return type
WebAPI.FetchAPI.responsefromBlob
letfromBlob: (WebAPI.FileAPI.blob,~init:WebAPI.FetchAPI.responseInit=?,)=>WebAPI.FetchAPI.responseParameters
WebAPI.FileAPI.blob option<WebAPI.FetchAPI.responseInit >Return type
WebAPI.FetchAPI.responsefromDataView
letfromDataView: (DataView.t,~init:WebAPI.FetchAPI.responseInit=?,)=>WebAPI.FetchAPI.responseParameters
Stdlib.DataView.t option<WebAPI.FetchAPI.responseInit >Return type
WebAPI.FetchAPI.responsefromFile
letfromFile: (WebAPI.FileAPI.file,~init:WebAPI.FetchAPI.responseInit=?,)=>WebAPI.FetchAPI.responseParameters
WebAPI.FileAPI.file option<WebAPI.FetchAPI.responseInit >Return type
WebAPI.FetchAPI.responsefromFormData
letfromFormData: (WebAPI.FetchAPI.formData,~init:WebAPI.FetchAPI.responseInit=?,)=>WebAPI.FetchAPI.responseParameters
WebAPI.FetchAPI.formData option<WebAPI.FetchAPI.responseInit >Return type
WebAPI.FetchAPI.responsefromNull
letfromNull: (~init:WebAPI.FetchAPI.responseInit=?,)=>WebAPI.FetchAPI.responsefromReadableStream
letfromReadableStream: (WebAPI.FileAPI.readableStream<'t>,~init:WebAPI.FetchAPI.responseInit=?,)=>WebAPI.FetchAPI.responseParameters
WebAPI.FileAPI.readableStream option<WebAPI.FetchAPI.responseInit >Return type
WebAPI.FetchAPI.responsefromString
letfromString: (string,~init:WebAPI.FetchAPI.responseInit=?,)=>WebAPI.FetchAPI.responsefromTypedArray
letfromTypedArray: (TypedArray.t<'t>,~init:WebAPI.FetchAPI.responseInit=?,)=>WebAPI.FetchAPI.responseParameters
Stdlib.TypedArray.t option<WebAPI.FetchAPI.responseInit >Return type
WebAPI.FetchAPI.responsefromURLSearchParams
letfromURLSearchParams: (WebAPI.URLAPI.urlSearchParams,~init:WebAPI.FetchAPI.responseInit=?,)=>WebAPI.FetchAPI.responseParameters
WebAPI.URLAPI.urlSearchParams option<WebAPI.FetchAPI.responseInit >Return type
WebAPI.FetchAPI.responsejson
letjson:WebAPI.FetchAPI.response=>promise<JSON.t>jsonR
letjsonR: (~data:JSON.t,~init:WebAPI.FetchAPI.responseInit=?,)=>WebAPI.FetchAPI.responseredirect
letredirect: (~url:string, ~status:int=?)=>WebAPI.FetchAPI.responsetext
lettext:WebAPI.FetchAPI.response=>promise<string>