diff --git a/websocket-sharp/Net/WebHeaderCollection.cs b/websocket-sharp/Net/WebHeaderCollection.cs index 8a6159ad..b5996b03 100644 --- a/websocket-sharp/Net/WebHeaderCollection.cs +++ b/websocket-sharp/Net/WebHeaderCollection.cs @@ -1076,19 +1076,28 @@ namespace WebSocketSharp.Net #region Public Methods /// - /// Adds the specified to the collection. + /// Adds the specified header to the collection. /// /// - /// A that represents the header with the name and value separated by - /// a colon (':'). + /// + /// A that specifies the header to add. + /// + /// + /// It has the name and value separated by a colon character (':'). + /// /// /// - /// is , empty, or the name part of - /// is empty. + /// is . /// /// /// - /// doesn't contain a colon. + /// is an empty string. + /// + /// + /// -or- + /// + /// + /// does not contain a colon character. /// /// /// -or- @@ -1100,15 +1109,29 @@ namespace WebSocketSharp.Net /// -or- /// /// - /// The name or value part of contains invalid characters. + /// The name part of is an empty string. + /// + /// + /// -or- + /// + /// + /// The name part of contains an invalid + /// character. + /// + /// + /// -or- + /// + /// + /// The value part of contains an invalid + /// character. /// /// /// - /// The length of the value part of is greater than 65,535 characters. + /// The length of the value part of is greater + /// than 65,535 characters. /// /// - /// The current instance doesn't allow - /// the . + /// This instance does not allow the header. /// public void Add (string header) {