Skip to content

Commit

Permalink
fixed compiler warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
bezzad committed Sep 22, 2024
1 parent 7dc68dd commit 4d62e87
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
11 changes: 5 additions & 6 deletions src/Downloader/RequestConfiguration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ public RequestConfiguration()
/// <summary>
/// A <see cref="string"/> that contains the contents of the HTTP Expect header. The default value is null.
/// <exception cref="ArgumentException">
/// The value specified for a set operation is "100-continue". This value is case insensitive.
/// The value specified for a set operation is "100-continue". This value is case-insensitive.
/// </exception>
/// </summary>
public string Expect { get; set; }
Expand Down Expand Up @@ -178,10 +178,10 @@ public RequestConfiguration()
public bool Pipelined { get; set; }

/// <summary>
/// Gets or sets a Boolean value that indicates whether to send HTTP preauthentication header
/// Gets or sets a Boolean value that indicates whether to send HTTP pre-authentication header
/// information with current instance without waiting for an authentication challenge
/// from the requested resource.
/// true to send a HTTP WWW-authenticate header with the current instance
/// true to send an HTTP WWW-authenticate header with the current instance
/// without waiting for an authentication challenge from the requested resource;
/// otherwise, false. The default is false.
/// </summary>
Expand Down Expand Up @@ -232,8 +232,7 @@ public RequestConfiguration()
public bool SendChunked { get; set; }

/// <summary>
/// Gets or sets the timeout value in milliseconds for the <see cref="System.Net.HttpWebRequest.GetResponse"/> and
/// <see cref="System.Net.HttpWebRequest.GetRequestStream"/> methods.
/// Gets or sets the timeout value in milliseconds for the request and response of http web methods.
/// </summary>
public int Timeout { get; set; }

Expand All @@ -249,7 +248,7 @@ public RequestConfiguration()
/// <see cref="System.Net.HttpWebRequest.SendChunked"/> is false.
/// </exception>
/// <exception cref="ArgumentException">
/// <see cref="System.Net.HttpWebRequest.TransferEncoding"/> is set to the value "Chunked". This value is case insensitive.
/// <see cref="System.Net.HttpWebRequest.TransferEncoding"/> is set to the value "Chunked". This value is case-insensitive.
/// </exception>
public string TransferEncoding { get; set; }

Expand Down
2 changes: 1 addition & 1 deletion src/Downloader/ThrottledStream.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ internal class ThrottledStream : Stream
/// </summary>
/// <param name="baseStream">The base stream.</param>
/// <param name="bandwidthLimit">The maximum bytes per second that can be transferred through the base stream.</param>
/// <exception cref="ArgumentNullException">Thrown when <see cref="baseStream" /> is a null reference.</exception>
/// <exception cref="ArgumentNullException">Thrown when baseStream /> is a null reference.</exception>
/// <exception cref="ArgumentOutOfRangeException">Thrown when <see cref="BandwidthLimit" /> is a negative value.</exception>
public ThrottledStream(Stream baseStream, long bandwidthLimit)
{
Expand Down

0 comments on commit 4d62e87

Please sign in to comment.