Skip to main content
method Request.prototype.text

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

Returns

Promise<string>