1<html> 2<head> 3<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 4<title>http::chunk_extensions</title> 5<link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css"> 6<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> 7<link rel="home" href="../../index.html" title="Chapter 1. Boost.Beast"> 8<link rel="up" href="../ref.html" title="This Page Intentionally Left Blank 2/2"> 9<link rel="prev" href="boost__beast__http__verb.html" title="http::verb"> 10<link rel="next" href="boost__beast__http__dynamic_body.html" title="http::dynamic_body"> 11</head> 12<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> 13<table cellpadding="2" width="100%"><tr> 14<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../boost.png"></td> 15<td align="center"><a href="../../../../../../index.html">Home</a></td> 16<td align="center"><a href="../../../../../../libs/libraries.htm">Libraries</a></td> 17<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td> 18<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td> 19<td align="center"><a href="../../../../../../more/index.htm">More</a></td> 20</tr></table> 21<hr> 22<div class="spirit-nav"> 23<a accesskey="p" href="boost__beast__http__verb.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../ref.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="boost__beast__http__dynamic_body.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a> 24</div> 25<div class="section"> 26<div class="titlepage"><div><div><h4 class="title"> 27<a name="beast.ref.boost__beast__http__chunk_extensions"></a><a class="link" href="boost__beast__http__chunk_extensions.html" title="http::chunk_extensions">http::chunk_extensions</a> 28</h4></div></div></div> 29<p> 30 <a class="indexterm" name="idm46057509145088"></a> 31 </p> 32<p> 33 A set of chunk extensions. 34 </p> 35<h5> 36<a name="beast.ref.boost__beast__http__chunk_extensions.h0"></a> 37 <span class="phrase"><a name="beast.ref.boost__beast__http__chunk_extensions.synopsis"></a></span><a class="link" href="boost__beast__http__chunk_extensions.html#beast.ref.boost__beast__http__chunk_extensions.synopsis">Synopsis</a> 38 </h5> 39<p> 40 Defined in header <code class="literal"><<a href="../../../../../../boost/beast/http/chunk_encode.hpp" target="_top">boost/beast/http/chunk_encode.hpp</a>></code> 41 </p> 42<pre class="programlisting"><span class="keyword">using</span> <span class="identifier">chunk_extensions</span> <span class="special">=</span> <span class="identifier">basic_chunk_extensions</span><span class="special"><</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">allocator</span><span class="special"><</span> <span class="keyword">char</span> <span class="special">></span> <span class="special">>;</span> 43</pre> 44<h5> 45<a name="beast.ref.boost__beast__http__chunk_extensions.h1"></a> 46 <span class="phrase"><a name="beast.ref.boost__beast__http__chunk_extensions.types"></a></span><a class="link" href="boost__beast__http__chunk_extensions.html#beast.ref.boost__beast__http__chunk_extensions.types">Types</a> 47 </h5> 48<div class="informaltable"><table class="table"> 49<colgroup> 50<col> 51<col> 52</colgroup> 53<thead><tr> 54<th> 55 <p> 56 Name 57 </p> 58 </th> 59<th> 60 <p> 61 Description 62 </p> 63 </th> 64</tr></thead> 65<tbody><tr> 66<td> 67 <p> 68 <span class="bold"><strong><a class="link" href="boost__beast__http__basic_chunk_extensions/value_type.html" title="http::basic_chunk_extensions::value_type">value_type</a></strong></span> 69 </p> 70 </td> 71<td> 72 <p> 73 The type of value when iterating. 74 </p> 75 </td> 76</tr></tbody> 77</table></div> 78<h5> 79<a name="beast.ref.boost__beast__http__chunk_extensions.h2"></a> 80 <span class="phrase"><a name="beast.ref.boost__beast__http__chunk_extensions.member_functions"></a></span><a class="link" href="boost__beast__http__chunk_extensions.html#beast.ref.boost__beast__http__chunk_extensions.member_functions">Member 81 Functions</a> 82 </h5> 83<div class="informaltable"><table class="table"> 84<colgroup> 85<col> 86<col> 87</colgroup> 88<thead><tr> 89<th> 90 <p> 91 Name 92 </p> 93 </th> 94<th> 95 <p> 96 Description 97 </p> 98 </th> 99</tr></thead> 100<tbody> 101<tr> 102<td> 103 <p> 104 <span class="bold"><strong><a class="link" href="boost__beast__http__basic_chunk_extensions/basic_chunk_extensions.html" title="http::basic_chunk_extensions::basic_chunk_extensions">basic_chunk_extensions</a></strong></span> 105 </p> 106 </td> 107<td> 108 <p> 109 Constructor. 110 </p> 111 </td> 112</tr> 113<tr> 114<td> 115 <p> 116 <span class="bold"><strong><a class="link" href="boost__beast__http__basic_chunk_extensions/begin.html" title="http::basic_chunk_extensions::begin">begin</a></strong></span> 117 </p> 118 </td> 119<td> 120 </td> 121</tr> 122<tr> 123<td> 124 <p> 125 <span class="bold"><strong><a class="link" href="boost__beast__http__basic_chunk_extensions/clear.html" title="http::basic_chunk_extensions::clear">clear</a></strong></span> 126 </p> 127 </td> 128<td> 129 <p> 130 Clear the chunk extensions. 131 </p> 132 </td> 133</tr> 134<tr> 135<td> 136 <p> 137 <span class="bold"><strong><a class="link" href="boost__beast__http__basic_chunk_extensions/end.html" title="http::basic_chunk_extensions::end">end</a></strong></span> 138 </p> 139 </td> 140<td> 141 </td> 142</tr> 143<tr> 144<td> 145 <p> 146 <span class="bold"><strong><a class="link" href="boost__beast__http__basic_chunk_extensions/insert.html" title="http::basic_chunk_extensions::insert">insert</a></strong></span> 147 </p> 148 </td> 149<td> 150 <p> 151 Insert an extension name with an empty value. 152 </p> 153 <p> 154 Insert an extension value. 155 </p> 156 </td> 157</tr> 158<tr> 159<td> 160 <p> 161 <span class="bold"><strong><a class="link" href="boost__beast__http__basic_chunk_extensions/parse.html" title="http::basic_chunk_extensions::parse">parse</a></strong></span> 162 </p> 163 </td> 164<td> 165 <p> 166 Parse a set of chunk extensions. 167 </p> 168 </td> 169</tr> 170<tr> 171<td> 172 <p> 173 <span class="bold"><strong><a class="link" href="boost__beast__http__basic_chunk_extensions/str.html" title="http::basic_chunk_extensions::str">str</a></strong></span> 174 </p> 175 </td> 176<td> 177 <p> 178 Return the serialized representation of the chunk extension. 179 </p> 180 </td> 181</tr> 182</tbody> 183</table></div> 184<p> 185 This container stores a set of chunk extensions suited for use with <a class="link" href="boost__beast__http__chunk_header.html" title="http::chunk_header"><code class="computeroutput"><span class="identifier">chunk_header</span></code></a> 186 and <a class="link" href="boost__beast__http__chunk_body.html" title="http::chunk_body"><code class="computeroutput"><span class="identifier">chunk_body</span></code></a>. The container may be 187 iterated to access the extensions in their structured form. Meets the requirements 188 of ChunkExtensions 189 </p> 190<h5> 191<a name="beast.ref.boost__beast__http__chunk_extensions.h3"></a> 192 <span class="phrase"><a name="beast.ref.boost__beast__http__chunk_extensions.description"></a></span><a class="link" href="boost__beast__http__chunk_extensions.html#beast.ref.boost__beast__http__chunk_extensions.description">Description</a> 193 </h5> 194</div> 195<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> 196<td align="left"></td> 197<td align="right"><div class="copyright-footer">Copyright © 2016-2019 Vinnie 198 Falco<p> 199 Distributed under the Boost Software License, Version 1.0. (See accompanying 200 file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) 201 </p> 202</div></td> 203</tr></table> 204<hr> 205<div class="spirit-nav"> 206<a accesskey="p" href="boost__beast__http__verb.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../ref.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="boost__beast__http__dynamic_body.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a> 207</div> 208</body> 209</html> 210