* Consumes and returns the body as a string. * * @see https://fetch.spec.whatwg.org/#dom-body-text * @returns {Promise }
()
| 173 | * @returns {Promise<string>} |
| 174 | */ |
| 175 | text () { |
| 176 | return consume(this, 'text') |
| 177 | } |
| 178 | |
| 179 | /** |
| 180 | * Consumes and returns the body as a JavaScript Object. |