ReadonlyallHeaders: Effect<{ [key: string]: string }, PlaywrightError>An object with all the request HTTP headers associated with this request. The header names are lower-cased.
Readonlyfailure: () => Option<{ errorText: string }>The method returns null unless this request was a failed one.
Readonlyframe: Effect<PlaywrightFrameService, PlaywrightError>Returns the Frame that initiated this request.
Readonlyheaders: () => { [key: string]: string }An object with the request HTTP headers. The header names are lower-cased.
ReadonlyheadersArray: Effect<{ name: string; value: string }[], PlaywrightError>An array with all the request HTTP headers associated with this request.
ReadonlyheaderValue: (name: string) => Effect<Option<string>, PlaywrightError>Returns the value of the header matching the name. The name is case insensitive.
ReadonlyisNavigationRequest: () => booleanWhether this request is driving frame's navigation.
Readonlymethod: () => stringRequest's method (GET, POST, etc.)
ReadonlypostData: () => Option<string>Request's post body, if any.
ReadonlypostDataBuffer: () => Option<Buffer<ArrayBufferLike>>Request's post body in a binary form, if any.
ReadonlypostDataJSON: Effect<Option<any>, PlaywrightError>Returns parsed request's body for form-urlencoded and JSON requests.
ReadonlyredirectedFrom: () => Option<PlaywrightRequest>Request that was redirected by the server to this one, if any.
ReadonlyredirectedTo: () => Option<PlaywrightRequest>New request issued by the browser if the server responded with redirect.
ReadonlyresourceType: () => stringContains the request's resource type as it was perceived by the rendering engine.
Readonlyresponse: Effect<Option<PlaywrightResponse>, PlaywrightError>Returns the matching Response object, or null if the response was not received due to error.
ReadonlyserviceWorker: () => Option<PlaywrightWorker>Returns the ServiceWorker that initiated this request.
Readonlysizes: Effect<Returns resource size information for given request.
Readonlytiming: () => {Returns resource timing information for given request.
Readonlyurl: () => stringURL of the request.
Readonly_ReadonlyallAn object with all the request HTTP headers associated with this request. The header names are lower-cased.
ReadonlyfailureThe method returns null unless this request was a failed one.
ReadonlyframeReturns the Frame that initiated this request.
ReadonlyheadersAn object with the request HTTP headers. The header names are lower-cased.
ReadonlyheadersAn array with all the request HTTP headers associated with this request.
ReadonlyheaderReturns the value of the header matching the name. The name is case insensitive.
ReadonlyisWhether this request is driving frame's navigation.
ReadonlymethodRequest's method (GET, POST, etc.)
ReadonlypostRequest's post body, if any.
ReadonlypostRequest's post body in a binary form, if any.
ReadonlypostReturns parsed request's body for form-urlencoded and JSON requests.
ReadonlyredirectedRequest that was redirected by the server to this one, if any.
ReadonlyredirectedNew request issued by the browser if the server responded with redirect.
ReadonlyresourceContains the request's resource type as it was perceived by the rendering engine.
ReadonlyresponseReturns the matching Response object, or null if the response was not received due to error.
ReadonlyserviceReturns the ServiceWorker that initiated this request.
ReadonlysizesReturns resource size information for given request.
ReadonlytimingReturns resource timing information for given request.
ReadonlyurlURL of the request.
Staticmake
Since
0.1.2