[Modify] Add it
This commit is contained in:
parent
1bb32309f2
commit
3a5fc43dbc
@ -74,6 +74,27 @@ namespace WebSocketSharp.Net
|
|||||||
parse (uriPrefix);
|
parse (uriPrefix);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Initializes a new instance of the <see cref="HttpListenerPrefix"/> class
|
||||||
|
/// with the specified URI prefix and HTTP listener.
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// This constructor must be called after calling the CheckPrefix method.
|
||||||
|
/// </remarks>
|
||||||
|
/// <param name="uriPrefix">
|
||||||
|
/// A <see cref="string"/> that specifies the URI prefix.
|
||||||
|
/// </param>
|
||||||
|
/// <param name="listener">
|
||||||
|
/// A <see cref="HttpListener"/> that specifies the HTTP listener.
|
||||||
|
/// </param>
|
||||||
|
internal HttpListenerPrefix (string uriPrefix, HttpListener listener)
|
||||||
|
{
|
||||||
|
_original = uriPrefix;
|
||||||
|
_listener = listener;
|
||||||
|
|
||||||
|
parse (uriPrefix);
|
||||||
|
}
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
#region Public Properties
|
#region Public Properties
|
||||||
|
Loading…
Reference in New Issue
Block a user