[Modify] Edit it
This commit is contained in:
parent
4172812ad4
commit
ba5697ded6
@ -1047,23 +1047,37 @@ namespace WebSocketSharp.Net
|
|||||||
/// the restricted header list.
|
/// the restricted header list.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="headerName">
|
/// <param name="headerName">
|
||||||
/// A <see cref="string"/> that represents the name of the header to add.
|
/// A <see cref="string"/> that specifies the name of the header to add.
|
||||||
/// </param>
|
/// </param>
|
||||||
/// <param name="headerValue">
|
/// <param name="headerValue">
|
||||||
/// A <see cref="string"/> that represents the value of the header to add.
|
/// A <see cref="string"/> that specifies the value of the header to add.
|
||||||
/// </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"/> or <paramref name="headerValue"/> contains invalid characters.
|
/// <para>
|
||||||
|
/// <paramref name="headerName"/> is an empty string.
|
||||||
|
/// </para>
|
||||||
|
/// <para>
|
||||||
|
/// -or-
|
||||||
|
/// </para>
|
||||||
|
/// <para>
|
||||||
|
/// <paramref name="headerName"/> contains an invalid character.
|
||||||
|
/// </para>
|
||||||
|
/// <para>
|
||||||
|
/// -or-
|
||||||
|
/// </para>
|
||||||
|
/// <para>
|
||||||
|
/// <paramref name="headerValue"/> contains an invalid character.
|
||||||
|
/// </para>
|
||||||
/// </exception>
|
/// </exception>
|
||||||
/// <exception cref="ArgumentOutOfRangeException">
|
/// <exception cref="ArgumentOutOfRangeException">
|
||||||
/// The length of <paramref name="headerValue"/> is greater than 65,535 characters.
|
/// The length of <paramref name="headerValue"/> 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 header.
|
||||||
/// the <paramref name="headerName"/>.
|
|
||||||
/// </exception>
|
/// </exception>
|
||||||
protected void AddWithoutValidate (string headerName, string headerValue)
|
protected void AddWithoutValidate (string headerName, string headerValue)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user