diff --git a/websocket-sharp/Net/WebHeaderCollection.cs b/websocket-sharp/Net/WebHeaderCollection.cs index e457c678..d6c99ac8 100644 --- a/websocket-sharp/Net/WebHeaderCollection.cs +++ b/websocket-sharp/Net/WebHeaderCollection.cs @@ -1373,7 +1373,8 @@ namespace WebSocketSharp.Net } /// - /// Determines whether the specified header can be set for the request or the response. + /// Determines whether the specified HTTP header can be set for the request + /// or the response. /// /// /// true if the header is restricted; otherwise, false. @@ -1382,13 +1383,22 @@ namespace WebSocketSharp.Net /// A that represents the name of the header to test. /// /// - /// true if does the test for the response; for the request, false. + /// A : true if the test is for the response; + /// otherwise, false. /// /// - /// is or empty. + /// is . /// /// - /// contains invalid characters. + /// + /// is an empty string. + /// + /// + /// -or- + /// + /// + /// contains an invalid character. + /// /// public static bool IsRestricted (string headerName, bool response) {