diff --git a/websocket-sharp/Server/WebSocketBehavior.cs b/websocket-sharp/Server/WebSocketBehavior.cs index f943dc17..f6e6d5b0 100644 --- a/websocket-sharp/Server/WebSocketBehavior.cs +++ b/websocket-sharp/Server/WebSocketBehavior.cs @@ -208,27 +208,28 @@ namespace WebSocketSharp.Server } /// - /// Gets or sets the delegate called to validate the Origin header included in - /// a handshake request to the WebSocket service. + /// Gets or sets the delegate used to validate the Origin header 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<string, bool> delegate that references the method(s) used to - /// validate the origin header. + /// A Func<string, bool> delegate or + /// if not needed. /// /// - /// parameter passed to this delegate represents the value of - /// the origin header to validate if any. + /// The delegate invokes the method called when the WebSocket instance + /// for a session validates the handshake request. /// /// - /// This delegate should return true if the origin header is valid. + /// The parameter passed to the method is the value + /// of the Origin header or if the header is not + /// present. /// /// - /// The default value is , and it does nothing to validate. + /// The method must return true if the header value is valid. + /// + /// + /// The default value is . /// /// public Func OriginValidator {