[Modify] Polish it
This commit is contained in:
parent
757ff4d677
commit
02c074ab15
@ -1196,10 +1196,10 @@ namespace WebSocketSharp.Server
|
||||
/// <paramref name="path"/> is already in use.
|
||||
/// </para>
|
||||
/// </exception>
|
||||
public void AddWebSocketService<TBehaviorWithNew> (string path)
|
||||
where TBehaviorWithNew : WebSocketBehavior, new ()
|
||||
public void AddWebSocketService<TBehavior> (string path)
|
||||
where TBehavior : WebSocketBehavior, new ()
|
||||
{
|
||||
_services.AddService<TBehaviorWithNew> (path, null);
|
||||
_services.AddService<TBehavior> (path, null);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
Loading…
Reference in New Issue
Block a user