|
68 | 68 | components are described below: |
69 | 69 | </p> |
70 | 70 | <aname="c___network_library.protocol.http.http_client_example.http_request"></a><h6> |
71 | | -<aname="id2727026"></a> |
| 71 | +<aname="id3113264"></a> |
72 | 72 | <aclass="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 | <aname="c___network_library.protocol.http.http_client_example.http_client"></a><h6> |
85 | | -<aname="id2727195"></a> |
| 85 | +<aname="id3113433"></a> |
86 | 86 | <aclass="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 | <aname="c___network_library.protocol.http.http_client_example.http_response"></a><h6> |
101 | | -<aname="id2727373"></a> |
| 101 | +<aname="id3113611"></a> |
102 | 102 | <aclass="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 | <aname="c___network_library.protocol.http.http_client_example.http_client_walkthrough"></a><h6> |
115 | | -<aname="id2727543"></a> |
| 115 | +<aname="id3113781"></a> |
116 | 116 | <aclass="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 | <aname="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 | | -<aname="id2727868"></a> |
| 164 | +<aname="id3114106"></a> |
165 | 165 | <aclass="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 | <codeclass="computeroutput"><spanclass="identifier">http</span><spanclass="special">::</span><spanclass="identifier">client</span></code></a> |
167 | 167 | </h6> |
|
183 | 183 | <liclass="listitem"><codeclass="computeroutput"><spanclass="identifier">http</span><spanclass="special">::</span><spanclass="identifier">client</span><spanclass="special">(</span><spanclass="identifier">http</span><spanclass="special">::</span><spanclass="identifier">client</span><spanclass="special">::</span><spanclass="identifier">follow_redirect</span><spanclass="special">)</span></code></li> |
184 | 184 | </ul></div> |
185 | 185 | <aname="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 | | -<aname="id2728189"></a> |
| 186 | +<aname="id3114427"></a> |
187 | 187 | <aclass="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_"><codeclass="computeroutput"><spanclass="identifier">http</span><spanclass="special">::</span><spanclass="identifier">client</span><spanclass="special">::</span><spanclass="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 | <aname="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 | | -<aname="id2728254"></a> |
| 194 | +<aname="id3114492"></a> |
195 | 195 | <aclass="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_"><codeclass="computeroutput"><spanclass="identifier">http</span><spanclass="special">::</span><spanclass="identifier">client</span><spanclass="special">::</span><spanclass="identifier">follow_redirect</span><spanclass="special">(</span><spanclass="identifier">s</span><spanclass="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<codeclass="computeroutput"><spanclass="identifier">http</span><spanclass="special">::</span><spanclass="identifier">server</span></code>, the client can be extended to |
| 205 | + support different characteristics. |
| 206 | +</p> |
203 | 207 | </div> |
204 | 208 | <tablexmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision"width="100%"><tr> |
205 | 209 | <tdalign="left"></td> |
|