[Modify] Edit it
This commit is contained in:
parent
da5e0235b8
commit
2cdc1ee42b
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user