Click or drag to resize

WebSocketAcceptAsync Method

Accepts the handshake request asynchronously.

Namespace:  Sfs2X.WebSocketSharp
Assembly:  SmartFox2X (in SmartFox2X.dll) Version: 1.8.0.0 (1.8.0)
Syntax
C#
public void AcceptAsync()
Exceptions
ExceptionCondition
InvalidOperationException

This instance is a client.

-or-

The close process is in progress.

-or-

The connection has already been closed.

Remarks

This method does not wait for the accept process to be complete.

This method does nothing if the handshake request has already been accepted.

See Also