puppeteer/assets/js/272bc06f.c22badcf.js

2 lines
2.9 KiB
JavaScript
Raw Normal View History

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