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;