Skip to main content
Version: 17.1.1

HTTPResponse.text() method

Signature:

class HTTPResponse {
text(): Promise<string>;
}

Returns:

Promise<string>

Promise which resolves to a text representation of response body.