|
|
|
|
@ -2990,22 +2990,21 @@ namespace WebSocketSharp
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Closes the connection asynchronously with the specified
|
|
|
|
|
/// <paramref name="code"/> and <paramref name="reason"/>.
|
|
|
|
|
/// Closes the connection asynchronously with the specified code and reason.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <remarks>
|
|
|
|
|
/// <para>
|
|
|
|
|
/// This method does not wait for the close to be complete.
|
|
|
|
|
/// </para>
|
|
|
|
|
/// <para>
|
|
|
|
|
/// And this method does nothing if the current state of
|
|
|
|
|
/// the connection is Closing or Closed.
|
|
|
|
|
/// This method does nothing if the current state of the connection is
|
|
|
|
|
/// Closing or Closed.
|
|
|
|
|
/// </para>
|
|
|
|
|
/// </remarks>
|
|
|
|
|
/// <param name="code">
|
|
|
|
|
/// <para>
|
|
|
|
|
/// A <see cref="ushort"/> that represents the status code
|
|
|
|
|
/// indicating the reason for the close.
|
|
|
|
|
/// A <see cref="ushort"/> that represents the status code indicating
|
|
|
|
|
/// the reason for the close.
|
|
|
|
|
/// </para>
|
|
|
|
|
/// <para>
|
|
|
|
|
/// The status codes are defined in
|
|
|
|
|
@ -3048,8 +3047,7 @@ namespace WebSocketSharp
|
|
|
|
|
/// -or-
|
|
|
|
|
/// </para>
|
|
|
|
|
/// <para>
|
|
|
|
|
/// <paramref name="code"/> is 1005 (no status) and
|
|
|
|
|
/// there is <paramref name="reason"/>.
|
|
|
|
|
/// <paramref name="code"/> is 1005 (no status) and there is reason.
|
|
|
|
|
/// </para>
|
|
|
|
|
/// <para>
|
|
|
|
|
/// -or-
|
|
|
|
|
|