puppeteer/assets/js/31f4727e.18c1c74b.js
release-please[bot] d321f9557a deploy: 8c0ac61260
2023-12-06 08:09:55 +00:00

2 lines
3.7 KiB
JavaScript

/*! For license information please see 31f4727e.18c1c74b.js.LICENSE.txt */
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[61194],{27496:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>p,contentTitle:()=>s,default:()=>l,frontMatter:()=>i,metadata:()=>c,toc:()=>a});var r=n(85893),o=n(11151);const i={sidebar_label:"HTTPRequest.interceptResolutionState"},s="HTTPRequest.interceptResolutionState() method",c={id:"api/puppeteer.httprequest.interceptresolutionstate",title:"HTTPRequest.interceptResolutionState() method",description:"An InterceptResolutionState object describing the current resolution action and priority.",source:"@site/versioned_docs/version-21.6.0/api/puppeteer.httprequest.interceptresolutionstate.md",sourceDirName:"api",slug:"/api/puppeteer.httprequest.interceptresolutionstate",permalink:"/api/puppeteer.httprequest.interceptresolutionstate",draft:!1,unlisted:!1,tags:[],version:"21.6.0",frontMatter:{sidebar_label:"HTTPRequest.interceptResolutionState"},sidebar:"api",previous:{title:"HTTPRequest.initiator",permalink:"/api/puppeteer.httprequest.initiator"},next:{title:"HTTPRequest.isInterceptResolutionHandled",permalink:"/api/puppeteer.httprequest.isinterceptresolutionhandled"}},p={},a=[{value:"Signature:",id:"signature",level:4}];function u(e){const t={a:"a",code:"code",h1:"h1",h4:"h4",p:"p",pre:"pre",strong:"strong",...(0,o.a)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(t.h1,{id:"httprequestinterceptresolutionstate-method",children:"HTTPRequest.interceptResolutionState() method"}),"\n",(0,r.jsx)(t.p,{children:"An InterceptResolutionState object describing the current resolution action and priority."}),"\n",(0,r.jsx)(t.p,{children:"InterceptResolutionState contains: action: InterceptResolutionAction priority?: number"}),"\n",(0,r.jsxs)(t.p,{children:["InterceptResolutionAction is one of: ",(0,r.jsx)(t.code,{children:"abort"}),", ",(0,r.jsx)(t.code,{children:"respond"}),", ",(0,r.jsx)(t.code,{children:"continue"}),", ",(0,r.jsx)(t.code,{children:"disabled"}),", ",(0,r.jsx)(t.code,{children:"none"}),", or ",(0,r.jsx)(t.code,{children:"already-handled"}),"."]}),"\n",(0,r.jsx)(t.h4,{id:"signature",children:"Signature:"}),"\n",(0,r.jsx)(t.pre,{children:(0,r.jsx)(t.code,{className:"language-typescript",children:"class HTTPRequest {\n abstract interceptResolutionState(): InterceptResolutionState;\n}\n"})}),"\n",(0,r.jsx)(t.p,{children:(0,r.jsx)(t.strong,{children:"Returns:"})}),"\n",(0,r.jsx)(t.p,{children:(0,r.jsx)(t.a,{href:"/api/puppeteer.interceptresolutionstate",children:"InterceptResolutionState"})})]})}function l(e={}){const{wrapper:t}={...(0,o.a)(),...e.components};return t?(0,r.jsx)(t,{...e,children:(0,r.jsx)(u,{...e})}):u(e)}},75251:(e,t,n)=>{var r=n(67294),o=Symbol.for("react.element"),i=Symbol.for("react.fragment"),s=Object.prototype.hasOwnProperty,c=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,p={key:!0,ref:!0,__self:!0,__source:!0};function a(e,t,n){var r,i={},a=null,u=null;for(r in void 0!==n&&(a=""+n),void 0!==t.key&&(a=""+t.key),void 0!==t.ref&&(u=t.ref),t)s.call(t,r)&&!p.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===i[r]&&(i[r]=t[r]);return{$$typeof:o,type:e,key:a,ref:u,props:i,_owner:c.current}}t.Fragment=i,t.jsx=a,t.jsxs=a},85893:(e,t,n)=>{e.exports=n(75251)},11151:(e,t,n)=>{n.d(t,{Z:()=>c,a:()=>s});var r=n(67294);const o={},i=r.createContext(o);function s(e){const t=r.useContext(i);return r.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function c(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:s(e.components),r.createElement(i.Provider,{value:t},e.children)}}}]);