puppeteer/assets/js/2f421ff4.5ff9fa2c.js
release-please[bot] cc95c085a2 deploy: 1014abc087
2023-11-29 13:34:30 +00:00

2 lines
2.9 KiB
JavaScript

/*! For license information please see 2f421ff4.5ff9fa2c.js.LICENSE.txt */
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[49007],{78048:(e,t,s)=>{s.r(t),s.d(t,{assets:()=>u,contentTitle:()=>p,default:()=>l,frontMatter:()=>o,metadata:()=>a,toc:()=>i});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/../docs/api/puppeteer.httpresponse.statustext.md",sourceDirName:"api",slug:"/api/puppeteer.httpresponse.statustext",permalink:"/next/api/puppeteer.httpresponse.statustext",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{sidebar_label:"HTTPResponse.statusText"},sidebar:"api",previous:{title:"HTTPResponse.status",permalink:"/next/api/puppeteer.httpresponse.status"},next:{title:"HTTPResponse.text",permalink:"/next/api/puppeteer.httpresponse.text"}},u={},i=[{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,u={key:!0,ref:!0,__self:!0,__source:!0};function i(e,t,s){var n,o={},i=null,c=null;for(n in void 0!==s&&(i=""+s),void 0!==t.key&&(i=""+t.key),void 0!==t.ref&&(c=t.ref),t)p.call(t,n)&&!u.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:i,ref:c,props:o,_owner:a.current}}t.Fragment=o,t.jsx=i,t.jsxs=i},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)}}}]);