File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -430,8 +430,14 @@ class http_response
430
430
431
431
// / <summary>
432
432
// / Generates a string representation of the message, including the body when possible.
433
+ // / Mainly this should be used for debugging purposes as it has to copy the
434
+ // / message body and doesn't have excellent performance.
433
435
// / </summary>
434
436
// / <returns>A string representation of this HTTP request.</returns>
437
+ // / <remarks>Note this function is synchronous and doesn't wait for the
438
+ // / entire message body to arrive. If the message body has arrived by the time this
439
+ // / function is called and it is has a textual Content-Type it will be included.
440
+ // / Otherwise just the headers will be present.</remarks>
435
441
utility::string_t to_string () const { return _m_impl->to_string (); }
436
442
437
443
// / <summary>
@@ -1095,8 +1101,14 @@ class http_request
1095
1101
1096
1102
// / <summary>
1097
1103
// / Generates a string representation of the message, including the body when possible.
1104
+ // / Mainly this should be used for debugging purposes as it has to copy the
1105
+ // / message body and doesn't have excellent performance.
1098
1106
// / </summary>
1099
1107
// / <returns>A string representation of this HTTP request.</returns>
1108
+ // / <remarks>Note this function is synchronous and doesn't wait for the
1109
+ // / entire message body to arrive. If the message body has arrived by the time this
1110
+ // / function is called and it is has a textual Content-Type it will be included.
1111
+ // / Otherwise just the headers will be present.</remarks>
1100
1112
utility::string_t to_string () const { return _m_impl->to_string (); }
1101
1113
1102
1114
// / <summary>
You can’t perform that action at this time.
0 commit comments