From 0fb0198a343bbf0bc982cf92a4699377656319c5 Mon Sep 17 00:00:00 2001 From: sta Date: Sat, 29 Jul 2017 18:00:21 +0900 Subject: [PATCH] [Modify] Edit it --- websocket-sharp/WebSocket.cs | 33 ++++++++++++++++++++++++++------- 1 file changed, 26 insertions(+), 7 deletions(-) diff --git a/websocket-sharp/WebSocket.cs b/websocket-sharp/WebSocket.cs index 01284f03..66385ade 100644 --- a/websocket-sharp/WebSocket.cs +++ b/websocket-sharp/WebSocket.cs @@ -2807,22 +2807,41 @@ namespace WebSocketSharp } /// - /// Closes the WebSocket connection asynchronously with the specified - /// , and releases all associated resources. + /// Closes the connection asynchronously with the specified + /// . /// /// /// - /// This method does nothing if the current state of the connection is - /// Closing or Closed. + /// This method does not wait for the close to be complete. /// /// - /// This method does not wait for the close to be complete. + /// And this method does nothing if the current state of + /// the connection is Closing or Closed. /// /// /// - /// One of the enum values that represents - /// the status code indicating the reason for the close. + /// + /// One of the enum values. + /// + /// + /// It represents the status code indicating the reason for the close. + /// /// + /// + /// + /// is + /// . + /// It cannot be used by clients. + /// + /// + /// -or- + /// + /// + /// is + /// . + /// It cannot be used by servers. + /// + /// public void CloseAsync (CloseStatusCode code) { if (_client && code == CloseStatusCode.ServerError) {