Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
interface default.Audits.GetEncodedResponseRequest
import { type default } from "https://deno.land/x/pptr@1.2.0/vendor/devtools-protocol/protocol.d.ts";
const { GetEncodedResponseRequest } = default.Audits;

Properties

Identifier of the network request to get content for.

encoding: "webp" | "jpeg" | "png"

The encoding to use. (GetEncodedResponseRequestEncoding enum)

optional
quality: number

The quality of the encoding (0-1). (defaults to 1)

optional
sizeOnly: boolean

Whether to only return the size information (defaults to false).