Body.text - Web documentation
method Body.text

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

Return Type

Promise<string>