puppeteer/new-docs/puppeteer.protocol.fetch.md
Johan Bay e89e264a16
feat(chromium): roll Chromium to r782078 (#6250)
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.
2020-07-20 17:17:06 +02:00

49 lines
3.0 KiB
Markdown

<!-- 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; [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. |