From 5fd07ec5fe09b9fdd4b789dbcdfc626ce0b7a2ff Mon Sep 17 00:00:00 2001 From: sta Date: Tue, 25 Jul 2017 15:11:24 +0900 Subject: [PATCH] [Modify] Edit it --- websocket-sharp/WebSocket.cs | 26 ++++++++++++++++++++++---- 1 file changed, 22 insertions(+), 4 deletions(-) diff --git a/websocket-sharp/WebSocket.cs b/websocket-sharp/WebSocket.cs index 202da89d..f791eca8 100644 --- a/websocket-sharp/WebSocket.cs +++ b/websocket-sharp/WebSocket.cs @@ -2488,17 +2488,35 @@ namespace WebSocketSharp } /// - /// Closes the WebSocket connection with the specified , - /// and releases all associated resources. + /// Closes the connection with the specified . /// /// /// 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 Close (CloseStatusCode code) { if (_client && code == CloseStatusCode.ServerError) {