|
|
@ -2634,9 +2634,6 @@ namespace WebSocketSharp |
|
|
|
/// Section 7.4</see> of RFC 6455.
|
|
|
|
/// </para>
|
|
|
|
/// </param>
|
|
|
|
/// <exception cref="ArgumentOutOfRangeException">
|
|
|
|
/// <paramref name="code"/> is less than 1000 or greater than 4999.
|
|
|
|
/// </exception>
|
|
|
|
/// <exception cref="ArgumentException">
|
|
|
|
/// <para>
|
|
|
|
/// <paramref name="code"/> is 1011 (server error).
|
|
|
@ -2650,6 +2647,9 @@ namespace WebSocketSharp |
|
|
|
/// It cannot be used by a server.
|
|
|
|
/// </para>
|
|
|
|
/// </exception>
|
|
|
|
/// <exception cref="ArgumentOutOfRangeException">
|
|
|
|
/// <paramref name="code"/> is less than 1000 or greater than 4999.
|
|
|
|
/// </exception>
|
|
|
|
public void Close (ushort code) |
|
|
|
{ |
|
|
|
Close (code, String.Empty); |
|
|
|