Skip to main content

HTTPResponse.text() method

Signature:
text(): Promise<string>;
Returns:

Promise<string>

Promise which resolves to a text representation of response body.