[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> /// <summary>
/// Accepts the WebSocket handshake request asynchronously. /// Accepts the handshake request asynchronously.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// <para> /// <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>
/// <para> /// <para>
/// This method is not available in a client. /// This method does nothing if the handshake request has already been
/// accepted.
/// </para> /// </para>
/// </remarks> /// </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 () public void AcceptAsync ()
{ {
if (_client) { if (_client) {