[Modify] Edit it

This commit is contained in:
sta 2018-06-17 19:32:08 +09:00
parent 748de5bdf4
commit d7bb1bd226

View File

@ -116,31 +116,31 @@ namespace WebSocketSharp.Server
} }
/// <summary> /// <summary>
/// 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. /// a handshake request to the WebSocket service.
/// </summary> /// </summary>
/// <remarks>
/// This delegate is called when the <see cref="WebSocket"/> used in a session validates
/// the handshake request.
/// </remarks>
/// <value> /// <value>
/// <para> /// <para>
/// A <c>Func&lt;CookieCollection, CookieCollection, bool&gt;</c> delegate that references /// A <c>Func&lt;CookieCollection, CookieCollection, bool&gt;</c> delegate
/// the method(s) used to validate the cookies. /// or <see langword="null"/> if not needed.
/// </para> /// </para>
/// <para> /// <para>
/// 1st <see cref="CookieCollection"/> parameter passed to this delegate contains /// The delegate invokes the method called when the WebSocket instance
/// the cookies to validate if any. /// for a session validates the handshake request.
/// </para> /// </para>
/// <para> /// <para>
/// 2nd <see cref="CookieCollection"/> parameter passed to this delegate receives /// 1st <see cref="CookieCollection"/> parameter passed to the method
/// the cookies to send to the client. /// contains the cookies to validate if present.
/// </para> /// </para>
/// <para> /// <para>
/// This delegate should return <c>true</c> if the cookies are valid. /// 2nd <see cref="CookieCollection"/> parameter passed to the method
/// receives the cookies to send to the client.
/// </para> /// </para>
/// <para> /// <para>
/// The default value is <see langword="null"/>, and it does nothing to validate. /// The method must return <c>true</c> if the cookies are valid.
/// </para>
/// <para>
/// The default value is <see langword="null"/>.
/// </para> /// </para>
/// </value> /// </value>
public Func<CookieCollection, CookieCollection, bool> CookiesValidator { public Func<CookieCollection, CookieCollection, bool> CookiesValidator {