puppeteer/assets/js/ce590ce5.257be605.js

2 lines
2.8 KiB
JavaScript
Raw Normal View History

/*! For license information please see ce590ce5.257be605.js.LICENSE.txt */
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[79234],{65654:(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/versioned_docs/version-21.6.0/api/puppeteer.httpresponse.status.md",sourceDirName:"api",slug:"/api/puppeteer.httpresponse.status",permalink:"/api/puppeteer.httpresponse.status",draft:!1,unlisted:!1,tags:[],version:"21.6.0",frontMatter:{sidebar_label:"HTTPResponse.status"},sidebar:"api",previous:{title:"HTTPResponse.securityDetails",permalink:"/api/puppeteer.httpresponse.securitydetails"},next:{title:"HTTPResponse.statusText",permalink:"/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)}}}]);