mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
e89e264a16
This corresponds to Chromium 85.0.4182.0. This roll includes: - Enable SameSiteByDefaultCookies and CookiesWithoutSameSiteMustBeSecure https://crrev.com/c/2231445 - [FlexNG] Enable FlexNG by default https://crrev.com/c/2216595 Closes #6151.
43 lines
4.0 KiB
Markdown
43 lines
4.0 KiB
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Network](./puppeteer.protocol.network.md) > [Response](./puppeteer.protocol.network.response.md)
|
|
|
|
## Protocol.Network.Response interface
|
|
|
|
HTTP response data.
|
|
|
|
<b>Signature:</b>
|
|
|
|
```typescript
|
|
export interface Response
|
|
```
|
|
|
|
## Properties
|
|
|
|
| Property | Type | Description |
|
|
| --- | --- | --- |
|
|
| [cacheStorageCacheName](./puppeteer.protocol.network.response.cachestoragecachename.md) | string | Cache Storage Cache Name. |
|
|
| [connectionId](./puppeteer.protocol.network.response.connectionid.md) | number | Physical connection id that was actually used for this request. |
|
|
| [connectionReused](./puppeteer.protocol.network.response.connectionreused.md) | boolean | Specifies whether physical connection was actually reused for this request. |
|
|
| [encodedDataLength](./puppeteer.protocol.network.response.encodeddatalength.md) | number | Total number of bytes received for this request so far. |
|
|
| [fromDiskCache](./puppeteer.protocol.network.response.fromdiskcache.md) | boolean | Specifies that the request was served from the disk cache. |
|
|
| [fromPrefetchCache](./puppeteer.protocol.network.response.fromprefetchcache.md) | boolean | Specifies that the request was served from the prefetch cache. |
|
|
| [fromServiceWorker](./puppeteer.protocol.network.response.fromserviceworker.md) | boolean | Specifies that the request was served from the ServiceWorker. |
|
|
| [headers](./puppeteer.protocol.network.response.headers.md) | [Headers](./puppeteer.protocol.network.headers.md) | HTTP response headers. |
|
|
| [headersText](./puppeteer.protocol.network.response.headerstext.md) | string | HTTP response headers text. |
|
|
| [mimeType](./puppeteer.protocol.network.response.mimetype.md) | string | Resource mimeType as determined by the browser. |
|
|
| [protocol](./puppeteer.protocol.network.response.protocol.md) | string | Protocol used to fetch this request. |
|
|
| [remoteIPAddress](./puppeteer.protocol.network.response.remoteipaddress.md) | string | Remote IP address. |
|
|
| [remotePort](./puppeteer.protocol.network.response.remoteport.md) | [integer](./puppeteer.protocol.integer.md) | Remote port. |
|
|
| [requestHeaders](./puppeteer.protocol.network.response.requestheaders.md) | [Headers](./puppeteer.protocol.network.headers.md) | Refined HTTP request headers that were actually transmitted over the network. |
|
|
| [requestHeadersText](./puppeteer.protocol.network.response.requestheaderstext.md) | string | HTTP request headers text. |
|
|
| [responseTime](./puppeteer.protocol.network.response.responsetime.md) | [TimeSinceEpoch](./puppeteer.protocol.network.timesinceepoch.md) | The time at which the returned response was generated. |
|
|
| [securityDetails](./puppeteer.protocol.network.response.securitydetails.md) | [SecurityDetails](./puppeteer.protocol.network.securitydetails.md) | Security details for the request. |
|
|
| [securityState](./puppeteer.protocol.network.response.securitystate.md) | [Security.SecurityState](./puppeteer.protocol.security.securitystate.md) | Security state of the request resource. |
|
|
| [serviceWorkerResponseSource](./puppeteer.protocol.network.response.serviceworkerresponsesource.md) | [ServiceWorkerResponseSource](./puppeteer.protocol.network.serviceworkerresponsesource.md) | Response source of response from ServiceWorker. |
|
|
| [status](./puppeteer.protocol.network.response.status.md) | [integer](./puppeteer.protocol.integer.md) | HTTP response status code. |
|
|
| [statusText](./puppeteer.protocol.network.response.statustext.md) | string | HTTP response status text. |
|
|
| [timing](./puppeteer.protocol.network.response.timing.md) | [ResourceTiming](./puppeteer.protocol.network.resourcetiming.md) | Timing information for the given request. |
|
|
| [url](./puppeteer.protocol.network.response.url.md) | string | Response URL. This URL can be different from CachedResource.url in case of redirect. |
|
|
|