[Modify] Edit it
This commit is contained in:
parent
da5e0235b8
commit
2cdc1ee42b
@ -1343,7 +1343,7 @@ namespace WebSocketSharp.Net
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <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>
|
/// </summary>
|
||||||
/// <returns>
|
/// <returns>
|
||||||
/// <c>true</c> if the header is restricted; otherwise, <c>false</c>.
|
/// <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.
|
/// A <see cref="string"/> that represents the name of the header to test.
|
||||||
/// </param>
|
/// </param>
|
||||||
/// <exception cref="ArgumentNullException">
|
/// <exception cref="ArgumentNullException">
|
||||||
/// <paramref name="headerName"/> is <see langword="null"/> or empty.
|
/// <paramref name="headerName"/> is <see langword="null"/>.
|
||||||
/// </exception>
|
/// </exception>
|
||||||
/// <exception cref="ArgumentException">
|
/// <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>
|
/// </exception>
|
||||||
public static bool IsRestricted (string headerName)
|
public static bool IsRestricted (string headerName)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user