Initiates or completes the close handshake defined in the tp://tools.ietf.org/html/draft-ietf-hybi-thewebsocketprotocol-06.
![]()
Returns System.Threading.Tasks.Task.
The task object representing the asynchronous operation.
This operation will not block. The returned System.Threading.Tasks.Task object will complete after the output on the WebSocket has been closed.