mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
2 lines
3.7 KiB
JavaScript
2 lines
3.7 KiB
JavaScript
/*! For license information please see 609676ec.0f1215c3.js.LICENSE.txt */
|
|
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[15561],{93850:(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/../docs/api/puppeteer.httprequest.interceptresolutionstate.md",sourceDirName:"api",slug:"/api/puppeteer.httprequest.interceptresolutionstate",permalink:"/next/api/puppeteer.httprequest.interceptresolutionstate",draft:!1,unlisted:!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"}},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:"/next/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)}}}]); |