A reader over a response body stream.

Hierarchy

  • BodyReader

Methods

Methods

  • Releases the reader and its connection.

    Returns void | Promise<unknown>

  • Resolves with the next chunk, or with done: true when the server ends the stream. Rejects when the connection terminates before the server ends the stream.

    Returns Promise<{
        done: boolean;
        value?: Uint8Array;
    }>

Generated using TypeDoc