Skip to main content
method Response.prototype.text

Takes a Response stream and reads it to completion. It returns a promise that resolves with a USVString (text).

Returns

Promise<string>