puppeteer/website/versioned_docs/version-19.8.1/api/puppeteer.httpresponse.md
release-please[bot] 57e11b320c
chore: release main (#9932)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2023-03-29 07:39:41 +00:00

2.1 KiB

sidebar_label
HTTPResponse

HTTPResponse class

The HTTPResponse class represents responses which are received by the Page class.

Signature:

export declare class HTTPResponse

Remarks

The constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the HTTPResponse class.

Methods

Method Modifiers Description
buffer()
frame()
fromCache()
fromServiceWorker()
headers()
json()
ok()
remoteAddress()
request()
securityDetails()
status()
statusText()
text()
timing()
url()