puppeteer/new-docs/puppeteer.protocol.audits.getencodedresponserequest.md

22 lines
1.2 KiB
Markdown
Raw Normal View History

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [puppeteer](./puppeteer.md) &gt; [Protocol](./puppeteer.protocol.md) &gt; [Audits](./puppeteer.protocol.audits.md) &gt; [GetEncodedResponseRequest](./puppeteer.protocol.audits.getencodedresponserequest.md)
## Protocol.Audits.GetEncodedResponseRequest interface
<b>Signature:</b>
```typescript
export interface GetEncodedResponseRequest
```
## Properties
| Property | Type | Description |
| --- | --- | --- |
| [encoding](./puppeteer.protocol.audits.getencodedresponserequest.encoding.md) | ('webp' \| 'jpeg' \| 'png') | The encoding to use. |
| [quality](./puppeteer.protocol.audits.getencodedresponserequest.quality.md) | number | The quality of the encoding (0-1). (defaults to 1) |
| [requestId](./puppeteer.protocol.audits.getencodedresponserequest.requestid.md) | [Network.RequestId](./puppeteer.protocol.network.requestid.md) | Identifier of the network request to get content for. |
| [sizeOnly](./puppeteer.protocol.audits.getencodedresponserequest.sizeonly.md) | boolean | Whether to only return the size information (defaults to false). |