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

Commitcc35a7a

Browse files
committed
Removes trailing white spaces.
1 parent41f8d87 commitcc35a7a

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

‎libs/network/doc/reference/http_response.rst‎

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ with the HTTP Response objects.
1515
Response Concept
1616
----------------
1717

18-
A type models the Response Concept if it models the `Message Concept`_ and also
18+
A type models the Response Concept if it models the `Message Concept`_ and also
1919
supports the following constructs.
2020

2121
**Legend**
@@ -80,8 +80,8 @@ supports the following constructs.
8080
Directives
8181
----------
8282

83-
This section details the provided directives that are provided by
84-
:mod:`cpp-netlib`. The section was written to assume that an appropriately
83+
This section details the provided directives that are provided by
84+
:mod:`cpp-netlib`. The section was written to assume that an appropriately
8585
constructed response instance is either of the following:
8686

8787
..code-block::c++
@@ -109,13 +109,13 @@ Directives are meant to be used in the following manner:
109109

110110
response << directive(...);
111111

112-
..warning::There are four versions of directives, those that are applicable
112+
..warning::There are four versions of directives, those that are applicable
113113
to messages that support narrow strings (``std::string``), those that are
114114
applicable to messages that support wide strings (``std::wstring``), those
115115
that are applicable to messages that support future-wrapped narrow and wide
116116
strings (``boost::shared_future<std::string>`` and
117-
``boost::shared_future<std::wstring>``).
118-
117+
``boost::shared_future<std::wstring>``).
118+
119119
The:mod:`cpp-netlib` implementation still does not convert wide strings into
120120
UTF-8 encoded narrow strings. This will be implemented in subsequent
121121
library releases.
@@ -124,25 +124,25 @@ Directives are meant to be used in the following manner:
124124
do not implement things correctly.
125125

126126
*unspecified* ``source(std::string const & source_)``
127-
Create a source directive with a ``std::string`` as a parameter, to be set
127+
Create a source directive with a ``std::string`` as a parameter, to be set
128128
as the source of the response.
129129
*unspecified* ``source(std::wstring const & source_)``
130130
Create a source directive with a ``std::wstring`` as a parameter, to be set
131131
as the source of the response.
132132
*unspecified* ``source(boost::shared_future<std::string> const & source_)``
133-
Create a source directive with a ``boost::shared_future<std::string>`` as a parameter, to be set
133+
Create a source directive with a ``boost::shared_future<std::string>`` as a parameter, to be set
134134
as the source of the response.
135135
*unspecified* ``source(boost::shared_future<std::wstring> const & source_)``
136136
Create a source directive with a ``boost::shared_future<std::wstring>`` as a parameter, to be set
137137
as the source of the response.
138138
*unspecified* ``destination(std::string const & source_)``
139-
Create a destination directive with a ``std::string`` as a parameter, to be
139+
Create a destination directive with a ``std::string`` as a parameter, to be
140140
set as the destination of the response.
141141
*unspecified* ``destination(std::wstring const & source_)``
142142
Create a destination directive with a ``std::wstring`` as a parameter, to be
143143
set as the destination of the response.
144144
*unspecified* ``destination(boost::shared_future<std::string> const & destination_)``
145-
Create a destination directive with a ``boost::shared_future<std::string>`` as a parameter, to be set
145+
Create a destination directive with a ``boost::shared_future<std::string>`` as a parameter, to be set
146146
as the destination of the response.
147147
*unspecified* ``destination(boost::shared_future<std::wstring> const & destination_)``
148148
Create a destination directive with a ``boost::shared_future<std::wstring>`` as a parameter, to be set
@@ -225,7 +225,7 @@ Directives are meant to be used in the following manner:
225225
Modifiers
226226
---------
227227

228-
This section details the provided modifiers that are provided by
228+
This section details the provided modifiers that are provided by
229229
:mod:`cpp-netlib`.
230230

231231
``template <class Tag> inline void source(basic_response<Tag> & response, typename string<Tag>::type const & source_)``
@@ -248,10 +248,10 @@ This section details the provided modifiers that are provided by
248248
Removes a header from the given ``response``. The type of the ``name``
249249
parameter is dependent on the ``Tag`` specialization of ``basic_response``.
250250
``template <class Tag> inline void headers(basic_response<Tag> & response, typename headers_container<basic_response<Tag> >::type const & headers_)``
251-
Sets the whole headers contained in ``response`` as the given parameter
251+
Sets the whole headers contained in ``response`` as the given parameter
252252
``headers_``.
253253
``template <class Tag> inline void headers(basic_response<Tag> & response, boost::shared_future<typename headers_container<basic_response<Tag> >::type> const & headers_)``
254-
Sets the whole headers contained in ``response`` as the given parameter
254+
Sets the whole headers contained in ``response`` as the given parameter
255255
``headers_``.
256256
``template <class Tag> inline void clear_headers(basic_response<Tag> & response)``
257257
Removes all headers from the given ``response``.
@@ -281,7 +281,7 @@ section assumes that the following using namespace directives are in
281281
effect:
282282

283283
..code-block::c++
284-
284+
285285
using namespace boost::network;
286286
using namespace boost::network::http;
287287

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp