MLE Fetch API polyfill(mle-js-fetch)
    Preparing search index...

    Class Body

    Hierarchy (View Summary)

    Index

    Accessors

    • get body(): ReadableStream<Uint8Array>

      Retrieve the contents of the body.

      Returns ReadableStream<Uint8Array>

    • get bodyUsed(): boolean

      Check if the contents of the body have been consumed.

      Returns boolean

    Methods

    • Consume the body as ArrayBuffer.

      Returns Promise<ArrayBufferLike>

    • Consume the contents of the body as a Blob.

      Returns Promise<Blob>

    • Consume the contents of the body as Uint8Array.

      Returns Promise<Uint8Array>

    • Consume the contents of the body as JSON.

      Returns Promise<any>

    • Consume the contents of the body as text.

      Returns Promise<string>