[Modify] Edit it

This commit is contained in:
sta 2017-11-22 15:40:40 +09:00
parent 200f996f9f
commit 1b4210af0f

View File

@ -2502,16 +2502,34 @@ namespace WebSocketSharp
}
/// <summary>
/// Accepts the WebSocket handshake request asynchronously.
/// Accepts the handshake request asynchronously.
/// </summary>
/// <remarks>
/// <para>
/// This method does not wait for the accept to be complete.
/// This method does not wait for the accept process to be complete.
/// </para>
/// <para>
/// This method is not available in a client.
/// This method does nothing if the handshake request has already been
/// accepted.
/// </para>
/// </remarks>
/// <exception cref="InvalidOperationException">
/// <para>
/// This instance is a client.
/// </para>
/// <para>
/// -or-
/// </para>
/// <para>
/// The close process is in progress.
/// </para>
/// <para>
/// -or-
/// </para>
/// <para>
/// The connection has already been closed.
/// </para>
/// </exception>
public void AcceptAsync ()
{
if (_client) {