1"use strict";(self.webpackChunkelectronjs=self.webpackChunkelectronjs||[]).push([["16598"],{86710(e,t,o){o.r(t),o.d(t,{metadata:()=>s,default:()=>d,frontMatter:()=>a,contentTitle:()=>l,toc:()=>p,assets:()=>c});var s=JSON.parse('{"id":"latest/api/structures/protocol-response-upload-data","title":"ProtocolResponseUploadData Object","description":"","source":"@site/docs/latest/api/structures/protocol-response-upload-data.md","sourceDirName":"latest/api/structures","slug":"/latest/api/structures/protocol-response-upload-data","permalink":"/docs/latest/api/structures/protocol-response-upload-data","draft":false,"unlisted":false,"editUrl":"https://github.com/electron/electron/edit/main/docs/api/structures/protocol-response-upload-data.md","tags":[],"version":"current","frontMatter":{"title":"ProtocolResponseUploadData Object","description":"","slug":"protocol-response-upload-data","hide_title":false},"sidebar":"api","previous":{"title":"ProtocolResponse Object","permalink":"/docs/latest/api/structures/protocol-response"},"next":{"title":"ProxyConfig Object","permalink":"/docs/latest/api/structures/proxy-config"}}'),r=o(74848),n=o(28453);let a={title:"ProtocolResponseUploadData Object",description:"",slug:"protocol-response-upload-data",hide_title:!1},l="ProtocolResponseUploadData Object",c={},p=[];function i(e){let t={code:"code",h1:"h1",header:"header",li:"li",ul:"ul",...(0,n.R)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(t.header,{children:(0,r.jsx)(t.h1,{id:"protocolresponseuploaddata-object",children:"ProtocolResponseUploadData Object"})}),"\n",(0,r.jsxs)(t.ul,{children:["\n",(0,r.jsxs)(t.li,{children:[(0,r.jsx)(t.code,{children:"contentType"})," string - MIME type of the content."]}),"\n",(0,r.jsxs)(t.li,{children:[(0,r.jsx)(t.code,{children:"data"})," string | Buffer - Content to be sent."]}),"\n"]})]})}function d(e={}){let{wrapper:t}={...(0,n.R)(),...e.components};return t?(0,r.jsx)(t,{...e,children:(0,r.jsx)(i,{...e})}):i(e)}},28453(e,t,o){o.d(t,{R:()=>a,x:()=>l});var s=o(96540);let r={},n=s.createContext(r);function a(e){let t=s.useContext(n);return s.useMemo(function(){return"function"==typeof e?e(t):{...t,...e}},[t,e])}function l(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:a(e.components),s.createElement(n.Provider,{value:t},e.children)}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.