|
68 | 68 | components are described below:
|
69 | 69 | </p>
|
70 | 70 | <a name="c___network_library.protocol.http.http_client_example.http_request"></a><h6>
|
71 |
| -<a name="id2727026"></a> |
| 71 | +<a name="id3113264"></a> |
72 | 72 | <a class="link" href="http_client_example.html#c___network_library.protocol.http.http_client_example.http_request">HTTP
|
73 | 73 | Request</a>
|
74 | 74 | </h6>
|
|
82 | 82 | information about the request and the resource. It models the Message concept.
|
83 | 83 | </p>
|
84 | 84 | <a name="c___network_library.protocol.http.http_client_example.http_client"></a><h6>
|
85 |
| -<a name="id2727195"></a> |
| 85 | +<a name="id3113433"></a> |
86 | 86 | <a class="link" href="http_client_example.html#c___network_library.protocol.http.http_client_example.http_client">HTTP
|
87 | 87 | Client</a>
|
88 | 88 | </h6>
|
|
98 | 98 | object.
|
99 | 99 | </p>
|
100 | 100 | <a name="c___network_library.protocol.http.http_client_example.http_response"></a><h6>
|
101 |
| -<a name="id2727373"></a> |
| 101 | +<a name="id3113611"></a> |
102 | 102 | <a class="link" href="http_client_example.html#c___network_library.protocol.http.http_client_example.http_response">HTTP
|
103 | 103 | Response</a>
|
104 | 104 | </h6>
|
|
112 | 112 | the data received from the server. It also models the Message concept.
|
113 | 113 | </p>
|
114 | 114 | <a name="c___network_library.protocol.http.http_client_example.http_client_walkthrough"></a><h6>
|
115 |
| -<a name="id2727543"></a> |
| 115 | +<a name="id3113781"></a> |
116 | 116 | <a class="link" href="http_client_example.html#c___network_library.protocol.http.http_client_example.http_client_walkthrough">HTTP
|
117 | 117 | Client Walkthrough</a>
|
118 | 118 | </h6>
|
|
161 | 161 | the rest is simple. This example outputs the response body.
|
162 | 162 | </p>
|
163 | 163 | <a name="c___network_library.protocol.http.http_client_example.using__code__phrase_role__identifier__http__phrase__phrase_role__special______phrase__phrase_role__identifier__client__phrase___code_"></a><h6>
|
164 |
| -<a name="id2727868"></a> |
| 164 | +<a name="id3114106"></a> |
165 | 165 | <a class="link" href="http_client_example.html#c___network_library.protocol.http.http_client_example.using__code__phrase_role__identifier__http__phrase__phrase_role__special______phrase__phrase_role__identifier__client__phrase___code_">Using
|
166 | 166 | <code class="computeroutput"><span class="identifier">http</span><span class="special">::</span><span class="identifier">client</span></code></a>
|
167 | 167 | </h6>
|
|
183 | 183 | <li class="listitem"><code class="computeroutput"><span class="identifier">http</span><span class="special">::</span><span class="identifier">client</span><span class="special">(</span><span class="identifier">http</span><span class="special">::</span><span class="identifier">client</span><span class="special">::</span><span class="identifier">follow_redirect</span><span class="special">)</span></code></li>
|
184 | 184 | </ul></div>
|
185 | 185 | <a name="c___network_library.protocol.http.http_client_example._code__phrase_role__identifier__http__phrase__phrase_role__special______phrase__phrase_role__identifier__client__phrase__phrase_role__special______phrase__phrase_role__identifier__cache_resolved__phrase___code_"></a><h6>
|
186 |
| -<a name="id2728189"></a> |
| 186 | +<a name="id3114427"></a> |
187 | 187 | <a class="link" href="http_client_example.html#c___network_library.protocol.http.http_client_example._code__phrase_role__identifier__http__phrase__phrase_role__special______phrase__phrase_role__identifier__client__phrase__phrase_role__special______phrase__phrase_role__identifier__cache_resolved__phrase___code_"><code class="computeroutput"><span class="identifier">http</span><span class="special">::</span><span class="identifier">client</span><span class="special">::</span><span class="identifier">cache_resolved</span></code></a>
|
188 | 188 | </h6>
|
189 | 189 | <p>
|
190 | 190 | This argument enables the caching of resolved endpoints and prevents the
|
191 | 191 | client from resolving IP addresses of previously resolved hostnames.
|
192 | 192 | </p>
|
193 | 193 | <a name="c___network_library.protocol.http.http_client_example._code__phrase_role__identifier__http__phrase__phrase_role__special______phrase__phrase_role__identifier__client__phrase__phrase_role__special______phrase__phrase_role__identifier__follow_redirect__phrase__phrase_role__special_____phrase__phrase_role__identifier__s__phrase__phrase_role__special_____phrase___code_"></a><h6>
|
194 |
| -<a name="id2728254"></a> |
| 194 | +<a name="id3114492"></a> |
195 | 195 | <a class="link" href="http_client_example.html#c___network_library.protocol.http.http_client_example._code__phrase_role__identifier__http__phrase__phrase_role__special______phrase__phrase_role__identifier__client__phrase__phrase_role__special______phrase__phrase_role__identifier__follow_redirect__phrase__phrase_role__special_____phrase__phrase_role__identifier__s__phrase__phrase_role__special_____phrase___code_"><code class="computeroutput"><span class="identifier">http</span><span class="special">::</span><span class="identifier">client</span><span class="special">::</span><span class="identifier">follow_redirect</span><span class="special">(</span><span class="identifier">s</span><span class="special">)</span></code></a>
|
196 | 196 | </h6>
|
197 | 197 | <p>
|
|
200 | 200 | header provided by the response(s); headers present in the original request
|
201 | 201 | are preserved in the subsequent request(s).
|
202 | 202 | </p>
|
| 203 | +<p> |
| 204 | + As with the <code class="computeroutput"><span class="identifier">http</span><span class="special">::</span><span class="identifier">server</span></code>, the client can be extended to |
| 205 | + support different characteristics. |
| 206 | + </p> |
203 | 207 | </div>
|
204 | 208 | <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
|
205 | 209 | <td align="left"></td>
|
|
0 commit comments