From 044939a181c1dd21d8524062fef6a7159a4c2c77 Mon Sep 17 00:00:00 2001 From: sta Date: Sun, 10 Jun 2018 19:53:39 +0900 Subject: [PATCH] [Modify] Edit it --- websocket-sharp/Server/WebSocketBehavior.cs | 23 +++++++++++++-------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/websocket-sharp/Server/WebSocketBehavior.cs b/websocket-sharp/Server/WebSocketBehavior.cs index 39f82d82..f943dc17 100644 --- a/websocket-sharp/Server/WebSocketBehavior.cs +++ b/websocket-sharp/Server/WebSocketBehavior.cs @@ -242,22 +242,27 @@ namespace WebSocketSharp.Server } /// - /// Gets or sets the WebSocket subprotocol used in the WebSocket service. + /// Gets or sets the name of subprotocol used in the WebSocket service. /// - /// - /// Set operation of this property is available before the WebSocket connection has - /// been established. - /// /// /// - /// A that represents the subprotocol if any. - /// The default value is . + /// A that represents the name of subprotocol. /// /// - /// The value to set must be a token defined in - /// RFC 2616. + /// The value specified for a set must be a token defined in + /// + /// RFC 2616. + /// + /// + /// The default value is an empty string. /// /// + /// + /// The set operation is not available if the session has already started. + /// + /// + /// The value specified for a set operation is not a token. + /// public string Protocol { get { return _protocol ?? String.Empty;