Skip to main content
Version: 15.3.0

HTTPResponse.text() method

Signature:

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

Returns:

Promise<string>

Promise which resolves to a text representation of response body.