What a transport resolves with. The engine is lenient about the shape a custom transport returns: headers may be a fetch Headers object or a Map with names in any case, and body any ArrayBuffer view (a Uint8Array from fetch) or an ArrayBuffer.
headers
Headers
Map
body
Uint8Array
fetch
ArrayBuffer
What a transport resolves with. The engine is lenient about the shape a custom transport returns:
headersmay be a fetchHeadersobject or aMapwith names in any case, andbodyany ArrayBuffer view (aUint8Arrayfromfetch) or anArrayBuffer.