diff --git a/websocket-sharp/WebSocket.cs b/websocket-sharp/WebSocket.cs index 8398731c..4bc79cb6 100644 --- a/websocket-sharp/WebSocket.cs +++ b/websocket-sharp/WebSocket.cs @@ -198,28 +198,47 @@ namespace WebSocketSharp /// /// Initializes a new instance of the class with - /// the specified WebSocket URL and subprotocols. + /// and . /// /// - /// A that represents the WebSocket URL to connect. + /// A that specifies the URL of the WebSocket + /// server to connect. /// /// - /// An array of that contains the WebSocket subprotocols if any. - /// Each value of must be a token defined in - /// RFC 2616. + /// + /// An array of that specifies the names of + /// the subprotocols if necessary. + /// + /// + /// Each value of the array must be a token defined in + /// + /// RFC 2616. + /// /// /// /// is . /// /// /// - /// is invalid. + /// is an empty string. + /// + /// + /// -or- + /// + /// + /// is an invalid WebSocket URL string. + /// + /// + /// -or- + /// + /// + /// contains a value that is not a token. /// /// /// -or- /// /// - /// is invalid. + /// contains a value twice. /// /// public WebSocket (string url, params string[] protocols)