Glossary Term
Response.text()
3 tags
1 category
The text() method of the Response interface takes a Response stream and reads it to completion. It returns a promise that resolves with a String. The response is always decoded using UTF-8.
Exceptions: AbortError DOMException The request was aborted. TypeError Thrown for one of the following reasons: The response body is disturbed or locked. There was an error decoding the body content (for example, because the Content-Encoding header is incorrect).
Term Connections
Explore related terms connected by shared tags, shared categories, and relationship phrases. This map loads only when it comes into view.
Loading term connections…
