|
|
|
@ -3134,16 +3134,20 @@ namespace WebSocketSharp
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// <summary>
|
|
|
|
/// Establishes a WebSocket connection asynchronously.
|
|
|
|
/// Establishes a connection asynchronously.
|
|
|
|
/// </summary>
|
|
|
|
/// </summary>
|
|
|
|
/// <remarks>
|
|
|
|
/// <remarks>
|
|
|
|
/// <para>
|
|
|
|
/// <para>
|
|
|
|
/// This method does not wait for the connect to be complete.
|
|
|
|
/// This method does not wait for the connect to be complete.
|
|
|
|
/// </para>
|
|
|
|
/// </para>
|
|
|
|
/// <para>
|
|
|
|
/// <para>
|
|
|
|
/// This method is not available in a server.
|
|
|
|
/// This method does nothing if the current state of the connection is
|
|
|
|
|
|
|
|
/// Open or Closing.
|
|
|
|
/// </para>
|
|
|
|
/// </para>
|
|
|
|
/// </remarks>
|
|
|
|
/// </remarks>
|
|
|
|
|
|
|
|
/// <exception cref="InvalidOperationException">
|
|
|
|
|
|
|
|
/// This instance is not a client.
|
|
|
|
|
|
|
|
/// </exception>
|
|
|
|
public void ConnectAsync ()
|
|
|
|
public void ConnectAsync ()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
if (!_client) {
|
|
|
|
if (!_client) {
|
|
|
|
|