[Modify] Edit it

This commit is contained in:
sta 2020-03-24 19:40:43 +09:00
parent da5e0235b8
commit 2cdc1ee42b

View File

@ -1343,7 +1343,7 @@ namespace WebSocketSharp.Net
}
/// <summary>
/// Determines whether the specified header can be set for the request.
/// Determines whether the specified HTTP header can be set for the request.
/// </summary>
/// <returns>
/// <c>true</c> if the header is restricted; otherwise, <c>false</c>.
@ -1352,10 +1352,18 @@ namespace WebSocketSharp.Net
/// A <see cref="string"/> that represents the name of the header to test.
/// </param>
/// <exception cref="ArgumentNullException">
/// <paramref name="headerName"/> is <see langword="null"/> or empty.
/// <paramref name="headerName"/> is <see langword="null"/>.
/// </exception>
/// <exception cref="ArgumentException">
/// <paramref name="headerName"/> contains invalid characters.
/// <para>
/// <paramref name="headerName"/> is an empty string.
/// </para>
/// <para>
/// -or-
/// </para>
/// <para>
/// <paramref name="headerName"/> contains an invalid character.
/// </para>
/// </exception>
public static bool IsRestricted (string headerName)
{