puppeteer/assets/js/61dcbe0d.552d0e87.js

2 lines
2.9 KiB
JavaScript
Raw Normal View History

/*! For license information please see 61dcbe0d.552d0e87.js.LICENSE.txt */
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[27504],{42856:(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.statusText"},p="HTTPResponse.statusText() method",a={id:"api/puppeteer.httpresponse.statustext",title:"HTTPResponse.statusText() method",description:'The status text of the response (e.g. usually an "OK" for a success).',source:"@site/versioned_docs/version-21.6.0/api/puppeteer.httpresponse.statustext.md",sourceDirName:"api",slug:"/api/puppeteer.httpresponse.statustext",permalink:"/api/puppeteer.httpresponse.statustext",draft:!1,unlisted:!1,tags:[],version:"21.6.0",frontMatter:{sidebar_label:"HTTPResponse.statusText"},sidebar:"api",previous:{title:"HTTPResponse.status",permalink:"/api/puppeteer.httpresponse.status"},next:{title:"HTTPResponse.text",permalink:"/api/puppeteer.httpresponse.text"}},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:"httpresponsestatustext-method",children:"HTTPResponse.statusText() method"}),"\n",(0,n.jsx)(t.p,{children:'The status text of the response (e.g. usually an "OK" 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 statusText(): string;\n}\n"})}),"\n",(0,n.jsx)(t.p,{children:(0,n.jsx)(t.strong,{children:"Returns:"})}),"\n",(0,n.jsx)(t.p,{children:"string"})]})}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)}}}]);