diff --git a/websocket-sharp/Server/WebSocketBehavior.cs b/websocket-sharp/Server/WebSocketBehavior.cs index bff4ae61..73de6c5b 100644 --- a/websocket-sharp/Server/WebSocketBehavior.cs +++ b/websocket-sharp/Server/WebSocketBehavior.cs @@ -116,31 +116,31 @@ namespace WebSocketSharp.Server } /// - /// Gets or sets the delegate called to validate the HTTP cookies included in + /// Gets or sets the delegate used to validate the HTTP cookies included in /// a handshake request to the WebSocket service. /// - /// - /// This delegate is called when the used in a session validates - /// the handshake request. - /// /// /// - /// A Func<CookieCollection, CookieCollection, bool> delegate that references - /// the method(s) used to validate the cookies. + /// A Func<CookieCollection, CookieCollection, bool> delegate + /// or if not needed. /// /// - /// 1st parameter passed to this delegate contains - /// the cookies to validate if any. + /// The delegate invokes the method called when the WebSocket instance + /// for a session validates the handshake request. /// /// - /// 2nd parameter passed to this delegate receives - /// the cookies to send to the client. + /// 1st parameter passed to the method + /// contains the cookies to validate if present. /// /// - /// This delegate should return true if the cookies are valid. + /// 2nd parameter passed to the method + /// receives the cookies to send to the client. /// /// - /// The default value is , and it does nothing to validate. + /// The method must return true if the cookies are valid. + /// + /// + /// The default value is . /// /// public Func CookiesValidator {