|
|
|
@ -774,21 +774,24 @@ namespace WebSocketSharp.Net
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// <summary>
|
|
|
|
/// Appends a <paramref name="value"/> to the specified HTTP header sent with the response.
|
|
|
|
/// Appends an HTTP header with the specified name and value to
|
|
|
|
|
|
|
|
/// the headers for the response.
|
|
|
|
/// </summary>
|
|
|
|
/// </summary>
|
|
|
|
/// <param name="name">
|
|
|
|
/// <param name="name">
|
|
|
|
/// A <see cref="string"/> that represents the name of the header to append
|
|
|
|
/// A <see cref="string"/> that represents the name of the header to
|
|
|
|
/// <paramref name="value"/> to.
|
|
|
|
/// append.
|
|
|
|
/// </param>
|
|
|
|
/// </param>
|
|
|
|
/// <param name="value">
|
|
|
|
/// <param name="value">
|
|
|
|
/// A <see cref="string"/> that represents the value to append to the header.
|
|
|
|
/// A <see cref="string"/> that represents the value of the header to
|
|
|
|
|
|
|
|
/// append.
|
|
|
|
/// </param>
|
|
|
|
/// </param>
|
|
|
|
/// <exception cref="ArgumentNullException">
|
|
|
|
/// <exception cref="ArgumentNullException">
|
|
|
|
/// <paramref name="name"/> is <see langword="null"/> or empty.
|
|
|
|
/// <paramref name="name"/> is <see langword="null"/> or empty.
|
|
|
|
/// </exception>
|
|
|
|
/// </exception>
|
|
|
|
/// <exception cref="ArgumentException">
|
|
|
|
/// <exception cref="ArgumentException">
|
|
|
|
/// <para>
|
|
|
|
/// <para>
|
|
|
|
/// <paramref name="name"/> or <paramref name="value"/> contains invalid characters.
|
|
|
|
/// <paramref name="name"/> or <paramref name="value"/> contains
|
|
|
|
|
|
|
|
/// an invalid character.
|
|
|
|
/// </para>
|
|
|
|
/// </para>
|
|
|
|
/// <para>
|
|
|
|
/// <para>
|
|
|
|
/// -or-
|
|
|
|
/// -or-
|
|
|
|
@ -798,10 +801,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 headers cannot allow the header to append a value.
|
|
|
|
/// The header cannot be allowed to append to the current headers.
|
|
|
|
/// </exception>
|
|
|
|
/// </exception>
|
|
|
|
public void AppendHeader (string name, string value)
|
|
|
|
public void AppendHeader (string name, string value)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|