<trclass="memdesc:a9d5d01b6e435c0706e1a687a3b64ad62"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Specifies the file at <em>path</em> to have its contents uploaded as multipart data, available at <code>name</code> of <em>upload_file_name</em>. <ahref="#a9d5d01b6e435c0706e1a687a3b64ad62">More...</a><br/></td></tr>
<trclass="memdesc:a071e0642997cb00acdc966371c2d1100"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Generates the <aclass="el"href="classcrashpad_1_1HTTPBodyStream.html"title="An interface to a stream that can be used for an HTTP request body. ">HTTPBodyStream</a> for the data currently supplied to the builder. <ahref="#a071e0642997cb00acdc966371c2d1100">More...</a><br/></td></tr>
<trclass="memdesc:a0a0e52dbb229875260451cb61f5d5d8d"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Gets the header pair for <code>"Content-Type"</code>. <br/></td></tr>
<p>Generates the <aclass="el"href="classcrashpad_1_1HTTPBodyStream.html"title="An interface to a stream that can be used for an HTTP request body. ">HTTPBodyStream</a> for the data currently supplied to the builder. </p>
<dlclass="section return"><dt>Returns</dt><dd>A caller-owned <aclass="el"href="classcrashpad_1_1HTTPBodyStream.html"title="An interface to a stream that can be used for an HTTP request body. ">HTTPBodyStream</a> object. </dd></dl>
<p>Specifies the file at <em>path</em> to have its contents uploaded as multipart data, available at <code>name</code> of <em>upload_file_name</em>. </p>
<dlclass="params"><dt>Parameters</dt><dd>
<tableclass="params">
<tr><tdclass="paramdir">[in]</td><tdclass="paramname">key</td><td>The key of the form data, specified as the <code>name</code> in the multipart message. Any data previously set on this class with this key will be overwritten. </td></tr>
<tr><tdclass="paramdir">[in]</td><tdclass="paramname">upload_file_name</td><td>The <code>filename</code> to specify for this multipart data attachment. </td></tr>
<tr><tdclass="paramdir">[in]</td><tdclass="paramname">path</td><td>The path of the file whose contents will be uploaded. </td></tr>
<tr><tdclass="paramdir">[in]</td><tdclass="paramname">content_type</td><td>The <code>Content-Type</code> to specify for the attachment. If this is empty, <code>"application/octet-stream"</code> will be used. </td></tr>
<p>Sets a <code>Content-Disposition: form-data</code> key-value pair. </p>
<dlclass="params"><dt>Parameters</dt><dd>
<tableclass="params">
<tr><tdclass="paramdir">[in]</td><tdclass="paramname">key</td><td>The key of the form data, specified as the <code>name</code> in the multipart message. Any data previously set on this class with this key will be overwritten. </td></tr>
<tr><tdclass="paramdir">[in]</td><tdclass="paramname">value</td><td>The value to set at the <em>key</em>. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>util/net/http_multipart_builder.h</li>
<li>util/net/http_multipart_builder.cc</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hrclass="footer"/><addressclass="footer"><small>
Generated by  <ahref="http://www.doxygen.org/index.html">