* Consumes and returns the body as a string. * * @see https://fetch.spec.whatwg.org/#dom-body-text * @returns {Promise }
()
| 17166 | * @returns {Promise<string>} |
| 17167 | */ |
| 17168 | text() { |
| 17169 | return consume(this, "text"); |
| 17170 | } |
| 17171 | /** |
| 17172 | * Consumes and returns the body as a JavaScript Object. |
| 17173 | * |