MCPcopy
hub / github.com/ampproject/amphtml / text

Method text

third_party/subscriptions-project/swg.js:13657–13659  ·  view source on GitHub ↗

* Drains the response and returns a promise that resolves with the response * text. * @return {!Promise }

()

Source from the content-addressed store, hash-verified

13655 * @return {!Promise<string>}
13656 */
13657 text() {
13658 return this.drainText_();
13659 }
13660
13661 /**
13662 * Drains the response and returns the JSON object.

Callers 7

fetchAdContentFunction · 0.45
test-xhr.jsFile · 0.45
nFunction · 0.45
fetchCredentialedJsonMethod · 0.45
sendPostMethod · 0.45

Calls 1

drainText_Method · 0.95

Tested by

no test coverage detected