Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit233b0f1

Browse files
committed
Minor documentation fix-up.
1 parent56b4ef8 commit233b0f1

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<ttclass="docutils literal"><spanclass="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
<spanclass="n">_body_handler</span><spanclass="o">=</span><spanclass="n">print_body</span><spanclass="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<ttclass="docutils literal"><spanclass="pre">BOOST_NETWORK_HTTP_BODY_CALLBACK</span></tt> macro is defined in
462+
<ttclass="docutils literal"><spanclass="pre">boost/network/protocol/http/client/macros.hpp</span></tt>.</p>
463463
</div>
464464
</div>
465465
</div>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp