Skip to content

Commit 60f6d80

Browse files
committed
Merge branch 'development' of https://git01.codeplex.com/casablanca into win32file
2 parents f6c912d + 9048e2e commit 60f6d80

File tree

6 files changed

+11
-13
lines changed

6 files changed

+11
-13
lines changed
-1.16 KB
Binary file not shown.

Release/include/cpprest/astreambuf.h

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -800,10 +800,6 @@ namespace streams
800800
/// <typeparam name="_CharType2">
801801
/// The data type of the basic element of the <c>streambuf.</c>
802802
/// </typeparam>
803-
/// <remarks>
804-
/// The rationale for refcounting is discussed in the accompanying design
805-
/// documentation.
806-
/// </remarks>
807803
template<typename _CharType>
808804
class streambuf : public details::basic_streambuf<_CharType>
809805
{
@@ -898,13 +894,13 @@ namespace streams
898894
virtual bool can_write() const { return get_base()->can_write(); }
899895

900896
/// <summary>
901-
/// <c>can_seek<c/> is used to determine whether a stream buffer supports seeking.
897+
/// <c>can_seek</c> is used to determine whether a stream buffer supports seeking.
902898
/// </summary>
903899
/// <returns>True if seeking is supported, false otherwise.</returns>
904900
virtual bool can_seek() const { return get_base()->can_seek(); }
905901

906902
/// <summary>
907-
/// <c>has_size<c/> is used to determine whether a stream buffer supports size().
903+
/// <c>has_size</c> is used to determine whether a stream buffer supports size().
908904
/// </summary>
909905
/// <returns>True if the <c>size</c> API is supported, false otherwise.</returns>
910906
virtual bool has_size() const { return get_base()->has_size(); }

Release/include/cpprest/http_headers.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ class http_headers
153153
/// </summary>
154154
/// <param name="name">The name of the header field.</param>
155155
/// <param name="value">The value of the header field.</param>
156-
/// <remark>If the header field exists, the value will be combined as comma separated string.</remark>
156+
/// <remarks>If the header field exists, the value will be combined as comma separated string.</remarks>
157157
template<typename _t1>
158158
void add(const key_type& name, const _t1& value)
159159
{

Release/include/cpprest/http_msg.h

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -491,7 +491,7 @@ class http_response
491491
}
492492

493493
/// <summary>
494-
/// Extracts the body of the response message into a json value, checking that the content type is application\json.
494+
/// Extracts the body of the response message into a json value, checking that the content type is application/json.
495495
/// A body can only be extracted once because in some cases an optimization is made where the data is 'moved' out.
496496
/// </summary>
497497
/// <param name="ignore_content_type">If true, ignores the Content-Type header and assumes UTF-8.</param>
@@ -612,6 +612,7 @@ class http_response
612612
/// sent.
613613
/// </summary>
614614
/// <param name="stream">A readable, open asynchronous stream.</param>
615+
/// <param name="content_type">A string holding the MIME type of the message body.</param>
615616
/// <remarks>
616617
/// This cannot be used in conjunction with any other means of setting the body of the request.
617618
/// The stream will not be read until the message is sent.
@@ -887,7 +888,7 @@ class http_request
887888
}
888889

889890
/// <summary>
890-
/// Extracts the body of the request message into a json value, checking that the content type is application\json.
891+
/// Extracts the body of the request message into a json value, checking that the content type is application/json.
891892
/// A body can only be extracted once because in some cases an optimization is made where the data is 'moved' out.
892893
/// </summary>
893894
/// <param name="ignore_content_type">If true, ignores the Content-Type header and assumes UTF-8.</param>
@@ -966,7 +967,7 @@ class http_request
966967
/// Sets the body of the message to contain json value. If the 'Content-Type'
967968
/// header hasn't already been set it will be set to 'application/json'.
968969
/// </summary>
969-
/// <param name="body_text">json value.</param>
970+
/// <param name="body_data">json value.</param>
970971
/// <remarks>
971972
/// This will overwrite any previously set body data.
972973
/// </remarks>
@@ -1009,6 +1010,7 @@ class http_request
10091010
/// sent.
10101011
/// </summary>
10111012
/// <param name="stream">A readable, open asynchronous stream.</param>
1013+
/// <param name="content_type">A string holding the MIME type of the message body.</param>
10121014
/// <remarks>
10131015
/// This cannot be used in conjunction with any other means of setting the body of the request.
10141016
/// The stream will not be read until the message is sent.

Release/include/cpprest/json.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -592,7 +592,7 @@ namespace json
592592
/// <summary>
593593
/// Accesses an element of a JSON array.
594594
/// </summary>
595-
/// <param name="key">The index of an element in the JSON array</param>
595+
/// <param name="index">The index of an element in the JSON array</param>
596596
/// <returns>The value kept at the array index; null if outside the boundaries of the array</returns>
597597
CASABLANCA_DEPRECATED("This API is deprecated and will be removed in a future release, use json::value::at() instead.")
598598
value get(size_t index) const;

Release/include/cpprest/oauth1.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,13 +161,13 @@ class oauth1_token
161161
/// <summary>
162162
/// Set access token.
163163
/// </summary>
164-
/// <param name="token">Access token string to set.</param>
164+
/// <param name="access_token">Access token string to set.</param>
165165
void set_access_token(utility::string_t &&access_token) { m_token = std::move(access_token); }
166166

167167
/// <summary>
168168
/// Set access token.
169169
/// </summary>
170-
/// <param name="token">Access token string to set.</param>
170+
/// <param name="access_token">Access token string to set.</param>
171171
void set_access_token(const utility::string_t &access_token) { m_token = access_token; }
172172

173173
/// <summary>

0 commit comments

Comments
 (0)