[Modify] Edit it

This commit is contained in:
sta 2017-08-18 13:58:30 +09:00
parent 38c8e4117f
commit 814b64e019

View File

@ -834,11 +834,25 @@ namespace WebSocketSharp.Server
}
/// <summary>
/// Closes the session with the specified <paramref name="id"/>.
/// Closes the specified session.
/// </summary>
/// <param name="id">
/// A <see cref="string"/> that represents the ID of the session to close.
/// </param>
/// <exception cref="ArgumentNullException">
/// <paramref name="id"/> is <see langword="null"/>.
/// </exception>
/// <exception cref="ArgumentException">
/// <para>
/// <paramref name="id"/> is an empty string.
/// </para>
/// <para>
/// -or-
/// </para>
/// <para>
/// The session could not be found.
/// </para>
/// </exception>
public void CloseSession (string id)
{
IWebSocketSession session;