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.
49 lines
3.0 KiB
Markdown
49 lines
3.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) > [Fetch](./puppeteer.protocol.fetch.md)
|
|
|
|
## Protocol.Fetch namespace
|
|
|
|
A domain for letting clients substitute browser's network layer with client code.
|
|
|
|
<b>Signature:</b>
|
|
|
|
```typescript
|
|
export namespace Fetch
|
|
```
|
|
|
|
## Enumerations
|
|
|
|
| Enumeration | Description |
|
|
| --- | --- |
|
|
| [AuthChallengeResponseResponse](./puppeteer.protocol.fetch.authchallengeresponseresponse.md) | |
|
|
| [AuthChallengeSource](./puppeteer.protocol.fetch.authchallengesource.md) | |
|
|
|
|
## Interfaces
|
|
|
|
| Interface | Description |
|
|
| --- | --- |
|
|
| [AuthChallenge](./puppeteer.protocol.fetch.authchallenge.md) | Authorization challenge for HTTP status code 401 or 407. |
|
|
| [AuthChallengeResponse](./puppeteer.protocol.fetch.authchallengeresponse.md) | Response to an AuthChallenge. |
|
|
| [AuthRequiredEvent](./puppeteer.protocol.fetch.authrequiredevent.md) | Issued when the domain is enabled with handleAuthRequests set to true. The request is paused until client responds with continueWithAuth. |
|
|
| [ContinueRequestRequest](./puppeteer.protocol.fetch.continuerequestrequest.md) | |
|
|
| [ContinueWithAuthRequest](./puppeteer.protocol.fetch.continuewithauthrequest.md) | |
|
|
| [EnableRequest](./puppeteer.protocol.fetch.enablerequest.md) | |
|
|
| [FailRequestRequest](./puppeteer.protocol.fetch.failrequestrequest.md) | |
|
|
| [FulfillRequestRequest](./puppeteer.protocol.fetch.fulfillrequestrequest.md) | |
|
|
| [GetResponseBodyRequest](./puppeteer.protocol.fetch.getresponsebodyrequest.md) | |
|
|
| [GetResponseBodyResponse](./puppeteer.protocol.fetch.getresponsebodyresponse.md) | |
|
|
| [HeaderEntry](./puppeteer.protocol.fetch.headerentry.md) | Response HTTP header entry |
|
|
| [RequestPattern](./puppeteer.protocol.fetch.requestpattern.md) | |
|
|
| [RequestPausedEvent](./puppeteer.protocol.fetch.requestpausedevent.md) | Issued when the domain is enabled and the request URL matches the specified filter. The request is paused until the client responds with one of continueRequest, failRequest or fulfillRequest. The stage of the request can be determined by presence of responseErrorReason and responseStatusCode -- the request is at the response stage if either of these fields is present and in the request stage otherwise. |
|
|
| [TakeResponseBodyAsStreamRequest](./puppeteer.protocol.fetch.takeresponsebodyasstreamrequest.md) | |
|
|
| [TakeResponseBodyAsStreamResponse](./puppeteer.protocol.fetch.takeresponsebodyasstreamresponse.md) | |
|
|
|
|
## Type Aliases
|
|
|
|
| Type Alias | Description |
|
|
| --- | --- |
|
|
| [RequestId](./puppeteer.protocol.fetch.requestid.md) | Unique request identifier. |
|
|
| [RequestStage](./puppeteer.protocol.fetch.requeststage.md) | Stages of the request to handle. Request will intercept before the request is sent. Response will intercept after the response is received (but before response body is received. |
|
|
|