"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[15561],{3905:(e,t,n)=>{n.d(t,{Zo:()=>s,kt:()=>d});var r=n(67294);function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var u=r.createContext({}),l=function(e){var t=r.useContext(u),n=t;return e&&(n="function"==typeof e?e(t):p(p({},t),e)),n},s=function(e){var t=l(e.components);return r.createElement(u.Provider,{value:t},e.children)},c={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},f=r.forwardRef((function(e,t){var n=e.components,o=e.mdxType,i=e.originalType,u=e.parentName,s=a(e,["components","mdxType","originalType","parentName"]),f=l(n),d=o,m=f["".concat(u,".").concat(d)]||f[d]||c[d]||i;return n?r.createElement(m,p(p({ref:t},s),{},{components:n})):r.createElement(m,p({ref:t},s))}));function d(e,t){var n=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var i=n.length,p=new Array(i);p[0]=f;var a={};for(var u in t)hasOwnProperty.call(t,u)&&(a[u]=t[u]);a.originalType=e,a.mdxType="string"==typeof e?e:o,p[1]=a;for(var l=2;l{n.r(t),n.d(t,{assets:()=>l,contentTitle:()=>a,default:()=>f,frontMatter:()=>p,metadata:()=>u,toc:()=>s});n(67294);var r=n(3905);function o(){return o=Object.assign||function(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}const p={sidebar_label:"HTTPRequest.interceptResolutionState"},a="HTTPRequest.interceptResolutionState() method",u={unversionedId:"api/puppeteer.httprequest.interceptresolutionstate",id:"api/puppeteer.httprequest.interceptresolutionstate",title:"HTTPRequest.interceptResolutionState() method",description:"Signature:",source:"@site/../docs/api/puppeteer.httprequest.interceptresolutionstate.md",sourceDirName:"api",slug:"/api/puppeteer.httprequest.interceptresolutionstate",permalink:"/next/api/puppeteer.httprequest.interceptresolutionstate",draft:!1,tags:[],version:"current",frontMatter:{sidebar_label:"HTTPRequest.interceptResolutionState"},sidebar:"sidebar",previous:{title:"HTTPRequest.initiator",permalink:"/next/api/puppeteer.httprequest.initiator"},next:{title:"HTTPRequest.isInterceptResolutionHandled",permalink:"/next/api/puppeteer.httprequest.isinterceptresolutionhandled"}},l={},s=[],c={toc:s};function f(e){var{components:t}=e,n=i(e,["components"]);return(0,r.kt)("wrapper",o({},c,n,{components:t,mdxType:"MDXLayout"}),(0,r.kt)("h1",o({},{id:"httprequestinterceptresolutionstate-method"}),"HTTPRequest.interceptResolutionState() method"),(0,r.kt)("p",null,(0,r.kt)("strong",{parentName:"p"},"Signature:")),(0,r.kt)("pre",null,(0,r.kt)("code",o({parentName:"pre"},{className:"language-typescript"}),"class HTTPRequest {\n interceptResolutionState(): InterceptResolutionState;\n}\n")),(0,r.kt)("p",null,(0,r.kt)("strong",{parentName:"p"},"Returns:")),(0,r.kt)("p",null,(0,r.kt)("a",o({parentName:"p"},{href:"/next/api/puppeteer.interceptresolutionstate"}),"InterceptResolutionState")),(0,r.kt)("p",null,"An InterceptResolutionState object describing the current resolution action and priority."),(0,r.kt)("p",null,"InterceptResolutionState contains: action: InterceptResolutionAction priority?: number"),(0,r.kt)("p",null,"InterceptResolutionAction is one of: ",(0,r.kt)("inlineCode",{parentName:"p"},"abort"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"respond"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"continue"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"disabled"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"none"),", or ",(0,r.kt)("inlineCode",{parentName:"p"},"already-handled"),"."))}f.isMDXComponent=!0}}]);