import { type Protocol } from "https://deno.land/x/puppeteer@14.1.1/vendor/puppeteer-core/puppeteer/api-docs-entry.d.ts";
const { Request } = Protocol.Network;
HTTP request data.
Properties
True when the request has POST data. Note that postData might still be omitted when this flag is true when the data is too long.
optional
postDataEntries: PostDataEntry[]Request body elements. This will be converted from base64 to binary
referrerPolicy: ()
| "unsafe-url"
| "no-referrer-when-downgrade"
| "no-referrer"
| "origin"
| "origin-when-cross-origin"
| "same-origin"
| "strict-origin"
| "strict-origin-when-cross-origin"
The referrer policy of the request, as defined in https://www.w3.org/TR/referrer-policy/ (RequestReferrerPolicy enum)
optional
trustTokenParams: TrustTokenParamsSet for requests when the TrustToken API is used. Contains the parameters passed by the developer (e.g. via "fetch") as understood by the backend.