Optional cancelReleases the reader and its connection. A standard reader always has it; it is optional so a minimal injected transport can omit it. The client calls it on teardown, because the abort signal alone cannot release a transport that ignores the signal.
Generated using TypeDoc
A reader over the response body stream.
readresolves with the next chunk, or withdone: truewhen the server ends the stream, and rejects when the connection terminates before the server ends the stream.