[Modify] Edit it
This commit is contained in:
parent
200f996f9f
commit
1b4210af0f
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user