[Modify] Edit it
This commit is contained in:
parent
3d4c241c29
commit
a22d5a9521
@ -1076,19 +1076,28 @@ namespace WebSocketSharp.Net
|
|||||||
#region Public Methods
|
#region Public Methods
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Adds the specified <paramref name="header"/> to the collection.
|
/// Adds the specified header to the collection.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="header">
|
/// <param name="header">
|
||||||
/// A <see cref="string"/> that represents the header with the name and value separated by
|
/// <para>
|
||||||
/// a colon (<c>':'</c>).
|
/// A <see cref="string"/> that specifies the header to add.
|
||||||
|
/// </para>
|
||||||
|
/// <para>
|
||||||
|
/// It has the name and value separated by a colon character (':').
|
||||||
|
/// </para>
|
||||||
/// </param>
|
/// </param>
|
||||||
/// <exception cref="ArgumentNullException">
|
/// <exception cref="ArgumentNullException">
|
||||||
/// <paramref name="header"/> is <see langword="null"/>, empty, or the name part of
|
/// <paramref name="header"/> is <see langword="null"/>.
|
||||||
/// <paramref name="header"/> is empty.
|
|
||||||
/// </exception>
|
/// </exception>
|
||||||
/// <exception cref="ArgumentException">
|
/// <exception cref="ArgumentException">
|
||||||
/// <para>
|
/// <para>
|
||||||
/// <paramref name="header"/> doesn't contain a colon.
|
/// <paramref name="header"/> is an empty string.
|
||||||
|
/// </para>
|
||||||
|
/// <para>
|
||||||
|
/// -or-
|
||||||
|
/// </para>
|
||||||
|
/// <para>
|
||||||
|
/// <paramref name="header"/> does not contain a colon character.
|
||||||
/// </para>
|
/// </para>
|
||||||
/// <para>
|
/// <para>
|
||||||
/// -or-
|
/// -or-
|
||||||
@ -1100,15 +1109,29 @@ namespace WebSocketSharp.Net
|
|||||||
/// -or-
|
/// -or-
|
||||||
/// </para>
|
/// </para>
|
||||||
/// <para>
|
/// <para>
|
||||||
/// The name or value part of <paramref name="header"/> contains invalid characters.
|
/// The name part of <paramref name="header"/> is an empty string.
|
||||||
|
/// </para>
|
||||||
|
/// <para>
|
||||||
|
/// -or-
|
||||||
|
/// </para>
|
||||||
|
/// <para>
|
||||||
|
/// The name part of <paramref name="header"/> contains an invalid
|
||||||
|
/// character.
|
||||||
|
/// </para>
|
||||||
|
/// <para>
|
||||||
|
/// -or-
|
||||||
|
/// </para>
|
||||||
|
/// <para>
|
||||||
|
/// The value part of <paramref name="header"/> contains an invalid
|
||||||
|
/// character.
|
||||||
/// </para>
|
/// </para>
|
||||||
/// </exception>
|
/// </exception>
|
||||||
/// <exception cref="ArgumentOutOfRangeException">
|
/// <exception cref="ArgumentOutOfRangeException">
|
||||||
/// The length of the value part of <paramref name="header"/> is greater than 65,535 characters.
|
/// The length of the value part of <paramref name="header"/> 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="header"/>.
|
|
||||||
/// </exception>
|
/// </exception>
|
||||||
public void Add (string header)
|
public void Add (string header)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user