[Modify] Edit it
This commit is contained in:
parent
dd8340b134
commit
82f146386d
@ -1340,21 +1340,32 @@ namespace WebSocketSharp.Net
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Adds a header with the specified <paramref name="name"/> and
|
/// Adds a header with the specified name and value to the collection.
|
||||||
/// <paramref name="value"/> to the collection.
|
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="name">
|
/// <param name="name">
|
||||||
/// 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="value">
|
/// <param name="value">
|
||||||
/// 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="name"/> is <see langword="null"/> or empty.
|
/// <paramref name="name"/> is <see langword="null"/>.
|
||||||
/// </exception>
|
/// </exception>
|
||||||
/// <exception cref="ArgumentException">
|
/// <exception cref="ArgumentException">
|
||||||
/// <para>
|
/// <para>
|
||||||
/// <paramref name="name"/> or <paramref name="value"/> contains invalid characters.
|
/// <paramref name="name"/> is an empty string.
|
||||||
|
/// </para>
|
||||||
|
/// <para>
|
||||||
|
/// -or-
|
||||||
|
/// </para>
|
||||||
|
/// <para>
|
||||||
|
/// <paramref name="name"/> contains an invalid character.
|
||||||
|
/// </para>
|
||||||
|
/// <para>
|
||||||
|
/// -or-
|
||||||
|
/// </para>
|
||||||
|
/// <para>
|
||||||
|
/// <paramref name="value"/> contains an invalid character.
|
||||||
/// </para>
|
/// </para>
|
||||||
/// <para>
|
/// <para>
|
||||||
/// -or-
|
/// -or-
|
||||||
@ -1364,11 +1375,11 @@ namespace WebSocketSharp.Net
|
|||||||
/// </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 header.
|
||||||
/// the header <paramref name="name"/>.
|
|
||||||
/// </exception>
|
/// </exception>
|
||||||
public override void Add (string name, string value)
|
public override void Add (string name, string value)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user