puppeteer/new-docs/puppeteer.httpresponse.md
Changhao Han 4696f7abda docs(new): migrate HTTPResponse docs to TSDoc (#6085)
Co-authored-by: Changhao Han <changhaohan@chromium.org>
2020-06-25 13:01:46 +02:00

1.5 KiB

Home > puppeteer > 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()
url()