puppeteer/new-docs/puppeteer.httprequest.md
Jack Franklin 086c08998b
chore: commit base new-docs (#5973)
This adds the new docs that are generated by API Extractor via TSDoc.
They are sparse because we do not yet use TSDoc in the codebase. This is
the starting point and from here we can work through all the different
classes and improve the documentation.
2020-06-04 15:56:45 +01:00

2.2 KiB

Home > puppeteer > HTTPRequest

HTTPRequest class

Signature:

export declare class HTTPRequest 

Constructors

Constructor Modifiers Description
(constructor)(client, frame, interceptionId, allowInterception, event, redirectChain) Constructs a new instance of the HTTPRequest class

Properties

Property Modifiers Type Description
_failureText any
_fromMemoryCache boolean
_interceptionId string
_redirectChain HTTPRequest[]
_requestId string
_response HTTPResponse | null

Methods

Method Modifiers Description
abort(errorCode)
continue(overrides)
failure() {?{errorText: string}}
frame()
headers()
isNavigationRequest()
method()
postData()
redirectChain()
resourceType()
respond(response)
response()
url()