Creates a new instance.
The metadata about the resource
The resource body as an ordered list of Uint8Arrays.
Abort any ongoing read operation with a ColibrioError with errorType set to ColibrioErrorType.ABORTED.
Fetch the response body as text.
The supported text encodings are:
Fetch the response body as an Uint8Array. Note that the underlying ArrayBuffer may contain more data than just the body.
Get metadata about the resource.
Get the body as a ReadableStream.
Generated using TypeDoc
A ResourceResponse that uses a list of Uint8Arrays as the underlying data source.