[Modify] Edit it
This commit is contained in:
parent
85b09f3e7b
commit
de60f206c6
@ -105,13 +105,39 @@ namespace WebSocketSharp.Server
|
||||
/// <summary>
|
||||
/// Gets the WebSocket service host with the specified <paramref name="path"/>.
|
||||
/// </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>
|
||||
/// <value>
|
||||
/// A <see cref="WebSocketServiceHost"/> instance that provides the access to
|
||||
/// the information in the service, or <see langword="null"/> if it's not found.
|
||||
/// the information in the service or <see langword="null"/> if not found.
|
||||
/// </value>
|
||||
/// <param name="path">
|
||||
/// A <see cref="string"/> that represents the absolute path to the service to find.
|
||||
/// A <see cref="string"/> that represents an absolute path to
|
||||
/// the service to find.
|
||||
/// </param>
|
||||
/// <exception cref="ArgumentNullException">
|
||||
/// <paramref name="path"/> is <see langword="null"/>.
|
||||
/// </exception>
|
||||
/// <exception cref="ArgumentException">
|
||||
/// <para>
|
||||
/// <paramref name="path"/> is empty.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// -or-
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// <paramref name="path"/> is not an absolute path.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// -or-
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// <paramref name="path"/> includes either or both
|
||||
/// query and fragment components.
|
||||
/// </para>
|
||||
/// </exception>
|
||||
public WebSocketServiceHost this[string path] {
|
||||
get {
|
||||
if (path == null)
|
||||
|
Loading…
Reference in New Issue
Block a user