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