Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -1444,12 +1444,12 @@ private void ProcessAuthentication()
}

/// <summary>
/// Writes the specified content to the request's RequestStream.
/// Sets the ContentLength property of the request and writes the specified content to the request's RequestStream.
/// </summary>
/// <param name="request">The WebRequest who's content is to be set.</param>
/// <param name="content">A byte array containing the content data.</param>
/// <remarks>
/// Because this function writes content data into the request's stream,
/// Because this function sets the request's ContentLength property and writes content data into the request's stream,
/// it should be called one time maximum on a given request.
/// </remarks>
internal void SetRequestContent(HttpRequestMessage request, byte[] content)
Expand All @@ -1461,12 +1461,12 @@ internal void SetRequestContent(HttpRequestMessage request, byte[] content)
}

/// <summary>
/// Writes the specified content to the request's RequestStream.
/// Sets the ContentLength property of the request and writes the specified content to the request's RequestStream.
/// </summary>
/// <param name="request">The WebRequest who's content is to be set.</param>
/// <param name="content">A String object containing the content data.</param>
/// <remarks>
/// Because this function writes content data into the request's stream,
/// Because this function sets the request's ContentLength property and writes content data into the request's stream,
/// it should be called one time maximum on a given request.
/// </remarks>
internal void SetRequestContent(HttpRequestMessage request, string content)
Expand Down Expand Up @@ -1524,12 +1524,12 @@ internal void SetRequestContent(HttpRequestMessage request, XmlNode xmlNode)
}

/// <summary>
/// Writes the specified content to the request's RequestStream.
/// Sets the ContentLength property of the request and writes the specified content to the request's RequestStream.
/// </summary>
/// <param name="request">The WebRequest who's content is to be set.</param>
/// <param name="contentStream">A Stream object containing the content data.</param>
/// <remarks>
/// Because this function writes content data into the request's stream,
/// Because this function sets the request's ContentLength property and writes content data into the request's stream,
/// it should be called one time maximum on a given request.
/// </remarks>
internal void SetRequestContent(HttpRequestMessage request, Stream contentStream)
Expand All @@ -1541,12 +1541,12 @@ internal void SetRequestContent(HttpRequestMessage request, Stream contentStream
}

/// <summary>
/// Writes the specified content to the request's RequestStream.
/// Sets the ContentLength property of the request and writes the ContentLength property of the request and writes the specified content to the request's RequestStream.
/// </summary>
/// <param name="request">The WebRequest who's content is to be set.</param>
/// <param name="multipartContent">A MultipartFormDataContent object containing multipart/form-data content.</param>
/// <remarks>
/// Because this function writes content data into the request's stream,
/// Because this function sets the request's ContentLength property and writes content data into the request's stream,
/// it should be called one time maximum on a given request.
/// </remarks>
internal void SetRequestContent(HttpRequestMessage request, MultipartFormDataContent multipartContent)
Expand Down