"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[15561],{3905:(e,t,n)=>{n.d(t,{Zo:()=>c,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 a(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):a(a({},t),e)),n},c=function(e){var t=l(e.components);return r.createElement(u.Provider,{value:t},e.children)},s={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,c=p(e,["components","mdxType","originalType","parentName"]),f=l(n),d=o,m=f["".concat(u,".").concat(d)]||f[d]||s[d]||i;return n?r.createElement(m,a(a({ref:t},c),{},{components:n})):r.createElement(m,a({ref:t},c))}));function d(e,t){var n=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var i=n.length,a=new Array(i);a[0]=f;var p={};for(var u in t)hasOwnProperty.call(t,u)&&(p[u]=t[u]);p.originalType=e,p.mdxType="string"==typeof e?e:o,a[1]=p;for(var l=2;l{n.r(t),n.d(t,{assets:()=>l,contentTitle:()=>p,default:()=>f,frontMatter:()=>a,metadata:()=>u,toc:()=>c});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 a={sidebar_label:"HTTPRequest.interceptResolutionState"},p="HTTPRequest.interceptResolutionState() method",u={unversionedId:"api/puppeteer.httprequest.interceptresolutionstate",id:"api/puppeteer.httprequest.interceptresolutionstate",title:"HTTPRequest.interceptResolutionState() method",description:"An InterceptResolutionState object describing the current resolution action and priority.",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:"api",previous:{title:"HTTPRequest.initiator",permalink:"/next/api/puppeteer.httprequest.initiator"},next:{title:"HTTPRequest.isInterceptResolutionHandled",permalink:"/next/api/puppeteer.httprequest.isinterceptresolutionhandled"}},l={},c=[{value:"Signature:",id:"signature",level:4}],s={toc:c};function f(e){var{components:t}=e,n=i(e,["components"]);return(0,r.kt)("wrapper",o({},s,n,{components:t,mdxType:"MDXLayout"}),(0,r.kt)("h1",o({},{id:"httprequestinterceptresolutionstate-method"}),"HTTPRequest.interceptResolutionState() method"),(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"),"."),(0,r.kt)("h4",o({},{id:"signature"}),"Signature:"),(0,r.kt)("pre",null,(0,r.kt)("code",o({parentName:"pre"},{className:"language-typescript"}),"class HTTPRequest {\n abstract 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")))}f.isMDXComponent=!0}}]);