Skip to content

Commit 233b0f1

Browse files
committed
Minor documentation fix-up.
1 parent 56b4ef8 commit 233b0f1

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

libs/network/doc/html/_sources/reference_http_client.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ Streaming Body Handler
295295
As of v0.9.1 the library now offers a way to support a streaming body callback
296296
function in all HTTP requests that expect a body part (GET, PUT, POST, DELETE).
297297
A convenience macro is also provided to make callback handlers easier to write.
298-
This macro is called `BOOST_NETWORK_HTTP_BODY_CALLBACK` which allows users to
298+
This macro is called ``BOOST_NETWORK_HTTP_BODY_CALLBACK`` which allows users to
299299
write the following code to easily create functions or function objects that
300300
are compatible with the callback function requirements.
301301

@@ -339,5 +339,5 @@ to create a function object.
339339
response_ = client_.get(request("http://cpp-netlib.github.com/"),
340340
_body_handler=print_body);
341341

342-
The `BOOST_NETWORK_HTTP_BODY_CALLBACK` macro is defined in
343-
`boost/network/protocol/http/client/macros.hpp`.
342+
The ``BOOST_NETWORK_HTTP_BODY_CALLBACK`` macro is defined in
343+
``boost/network/protocol/http/client/macros.hpp``.

libs/network/doc/html/reference_http_client.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,7 @@ <h3>Streaming Body Handler<a class="headerlink" href="#streaming-body-handler" t
419419
<p>As of v0.9.1 the library now offers a way to support a streaming body callback
420420
function in all HTTP requests that expect a body part (GET, PUT, POST, DELETE).
421421
A convenience macro is also provided to make callback handlers easier to write.
422-
This macro is called <cite>BOOST_NETWORK_HTTP_BODY_CALLBACK</cite> which allows users to
422+
This macro is called <tt class="docutils literal"><span class="pre">BOOST_NETWORK_HTTP_BODY_CALLBACK</span></tt> which allows users to
423423
write the following code to easily create functions or function objects that
424424
are compatible with the callback function requirements.</p>
425425
<p>An example of how to use the macro is shown below:</p>
@@ -458,8 +458,8 @@ <h3>Streaming Body Handler<a class="headerlink" href="#streaming-body-handler" t
458458
<span class="n">_body_handler</span><span class="o">=</span><span class="n">print_body</span><span class="p">);</span>
459459
</pre></div>
460460
</div>
461-
<p>The <cite>BOOST_NETWORK_HTTP_BODY_CALLBACK</cite> macro is defined in
462-
<cite>boost/network/protocol/http/client/macros.hpp</cite>.</p>
461+
<p>The <tt class="docutils literal"><span class="pre">BOOST_NETWORK_HTTP_BODY_CALLBACK</span></tt> macro is defined in
462+
<tt class="docutils literal"><span class="pre">boost/network/protocol/http/client/macros.hpp</span></tt>.</p>
463463
</div>
464464
</div>
465465
</div>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy