[Modify] Edit it

This commit is contained in:
sta 2020-04-15 19:44:23 +09:00
parent 514c943904
commit 4cf3a1419a

View File

@ -1565,14 +1565,19 @@ namespace WebSocketSharp.Net
} }
/// <summary> /// <summary>
/// Sets the specified request <paramref name="header"/> to the specified value. /// Sets the specified request header to the specified value.
/// </summary> /// </summary>
/// <param name="header"> /// <param name="header">
/// One of the <see cref="HttpRequestHeader"/> enum values, represents /// <para>
/// the request header to set. /// One of the <see cref="HttpRequestHeader"/> enum values.
/// </para>
/// <para>
/// It specifies the request header to set.
/// </para>
/// </param> /// </param>
/// <param name="value"> /// <param name="value">
/// A <see cref="string"/> that represents the value of the request header to set. /// A <see cref="string"/> that specifies the value of the request header
/// to set.
/// </param> /// </param>
/// <exception cref="ArgumentException"> /// <exception cref="ArgumentException">
/// <para> /// <para>
@ -1582,15 +1587,15 @@ namespace WebSocketSharp.Net
/// -or- /// -or-
/// </para> /// </para>
/// <para> /// <para>
/// <paramref name="value"/> contains invalid characters. /// <paramref name="value"/> contains an invalid character.
/// </para> /// </para>
/// </exception> /// </exception>
/// <exception cref="ArgumentOutOfRangeException"> /// <exception cref="ArgumentOutOfRangeException">
/// The length of <paramref name="value"/> is greater than 65,535 characters. /// The length of <paramref name="value"/> is greater than 65,535
/// characters.
/// </exception> /// </exception>
/// <exception cref="InvalidOperationException"> /// <exception cref="InvalidOperationException">
/// The current <see cref="WebHeaderCollection"/> instance doesn't allow /// This instance does not allow the request header.
/// the request <paramref name="header"/>.
/// </exception> /// </exception>
public void Set (HttpRequestHeader header, string value) public void Set (HttpRequestHeader header, string value)
{ {