[Modify] Edit it

This commit is contained in:
sta 2018-12-02 17:59:02 +09:00
parent d60c2a39ce
commit 0afef43f8a

View File

@ -1139,28 +1139,29 @@ namespace WebSocketSharp.Server
#region Public Methods #region Public Methods
/// <summary> /// <summary>
/// Adds a WebSocket service with the specified behavior, /// Adds a WebSocket service with the specified behavior, path,
/// <paramref name="path"/>, and <paramref name="creator"/>. /// and delegate.
/// </summary> /// </summary>
/// <remarks>
/// <paramref name="path"/> is converted to a URL-decoded string and
/// '/' is trimmed from the end of the converted string if any.
/// </remarks>
/// <param name="path"> /// <param name="path">
/// <para>
/// A <see cref="string"/> that represents an absolute path to /// A <see cref="string"/> that represents an absolute path to
/// the service to add. /// the service to add.
/// </para>
/// <para>
/// / is trimmed from the end of the string if present.
/// </para>
/// </param> /// </param>
/// <param name="creator"> /// <param name="creator">
/// <para> /// <para>
/// A <c>Func&lt;TBehavior&gt;</c> delegate. /// A <c>Func&lt;TBehavior&gt;</c> delegate.
/// </para> /// </para>
/// <para> /// <para>
/// It invokes the method called for creating /// It invokes the method called when creating a new session
/// a new session instance for the service. /// instance for the service.
/// </para> /// </para>
/// <para> /// <para>
/// The method must create a new instance of /// The method must create a new instance of the specified
/// the specified behavior class and return it. /// behavior class and return it.
/// </para> /// </para>
/// </param> /// </param>
/// <typeparam name="TBehavior"> /// <typeparam name="TBehavior">