puppeteer/assets/js/26958bbf.d3098ce8.js

2 lines
2.8 KiB
JavaScript
Raw Normal View History

/*! For license information please see 26958bbf.d3098ce8.js.LICENSE.txt */
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[24680],{98005:(e,t,s)=>{s.r(t),s.d(t,{assets:()=>i,contentTitle:()=>p,default:()=>l,frontMatter:()=>o,metadata:()=>a,toc:()=>u});var n=s(85893),r=s(11151);const o={sidebar_label:"HTTPResponse.status"},p="HTTPResponse.status() method",a={id:"api/puppeteer.httpresponse.status",title:"HTTPResponse.status() method",description:"The status code of the response (e.g., 200 for a success).",source:"@site/../docs/api/puppeteer.httpresponse.status.md",sourceDirName:"api",slug:"/api/puppeteer.httpresponse.status",permalink:"/next/api/puppeteer.httpresponse.status",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{sidebar_label:"HTTPResponse.status"},sidebar:"api",previous:{title:"HTTPResponse.securityDetails",permalink:"/next/api/puppeteer.httpresponse.securitydetails"},next:{title:"HTTPResponse.statusText",permalink:"/next/api/puppeteer.httpresponse.statustext"}},i={},u=[{value:"Signature:",id:"signature",level:4}];function c(e){const t={code:"code",h1:"h1",h4:"h4",p:"p",pre:"pre",strong:"strong",...(0,r.a)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(t.h1,{id:"httpresponsestatus-method",children:"HTTPResponse.status() method"}),"\n",(0,n.jsx)(t.p,{children:"The status code of the response (e.g., 200 for a success)."}),"\n",(0,n.jsx)(t.h4,{id:"signature",children:"Signature:"}),"\n",(0,n.jsx)(t.pre,{children:(0,n.jsx)(t.code,{className:"language-typescript",children:"class HTTPResponse {\n abstract status(): number;\n}\n"})}),"\n",(0,n.jsx)(t.p,{children:(0,n.jsx)(t.strong,{children:"Returns:"})}),"\n",(0,n.jsx)(t.p,{children:"number"})]})}function l(e={}){const{wrapper:t}={...(0,r.a)(),...e.components};return t?(0,n.jsx)(t,{...e,children:(0,n.jsx)(c,{...e})}):c(e)}},75251:(e,t,s)=>{var n=s(67294),r=Symbol.for("react.element"),o=Symbol.for("react.fragment"),p=Object.prototype.hasOwnProperty,a=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function u(e,t,s){var n,o={},u=null,c=null;for(n in void 0!==s&&(u=""+s),void 0!==t.key&&(u=""+t.key),void 0!==t.ref&&(c=t.ref),t)p.call(t,n)&&!i.hasOwnProperty(n)&&(o[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps)void 0===o[n]&&(o[n]=t[n]);return{$$typeof:r,type:e,key:u,ref:c,props:o,_owner:a.current}}t.Fragment=o,t.jsx=u,t.jsxs=u},85893:(e,t,s)=>{e.exports=s(75251)},11151:(e,t,s)=>{s.d(t,{Z:()=>a,a:()=>p});var n=s(67294);const r={},o=n.createContext(r);function p(e){const t=n.useContext(o);return n.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function a(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:p(e.components),n.createElement(o.Provider,{value:t},e.children)}}}]);