@@ -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.
0 commit comments