Skip to main content
Version: 16.0.0

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

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