A reader over a response body stream.

Hierarchy

  • BodyReader

Methods

Methods

  • 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