[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. Signature: ```typescript export namespace Fetch ``` ## 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. |