[Modify] Edit it

This commit is contained in:
sta 2020-07-11 21:44:09 +09:00
parent eacd38efa6
commit 4fab32c584

View File

@ -1180,12 +1180,29 @@ namespace WebSocketSharp.Net
/// A <see cref="string"/> that represents the value of the header to set.
/// </param>
/// <exception cref="ArgumentNullException">
/// <paramref name="name"/> is <see langword="null"/> or empty.
/// <paramref name="name"/> is <see langword="null"/>.
/// </exception>
/// <exception cref="ArgumentException">
/// <para>
/// <paramref name="name"/> or <paramref name="value"/> contains
/// an invalid character.
/// <paramref name="name"/> is an empty string.
/// </para>
/// <para>
/// -or-
/// </para>
/// <para>
/// <paramref name="name"/> is a string of spaces.
/// </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>
/// -or-
@ -1199,7 +1216,7 @@ namespace WebSocketSharp.Net
/// characters.
/// </exception>
/// <exception cref="InvalidOperationException">
/// The header cannot be allowed to set in the current headers.
/// The current headers do not allow the header.
/// </exception>
public void SetHeader (string name, string value)
{