HttpServer..::..AddWebSocketService<(Of <(<'TBehaviorWithNew>)>)> Method (String)
   Adds a WebSocket service with the specified behavior and path.
   
                
    Namespace: 
   WebSocketSharp.ServerAssembly: C-DEngine (in C-DEngine.dll)
Syntax
public void AddWebSocketService<TBehaviorWithNew>( string path ) where TBehaviorWithNew : WebSocketBehavior
Public Sub AddWebSocketService(Of TBehaviorWithNew As WebSocketBehavior) ( _ path As String _ )
public: generic<typename TBehaviorWithNew> where TBehaviorWithNew : WebSocketBehavior void AddWebSocketService( String^ path )
Type Parameters
- TBehaviorWithNew
 - The type of the behavior of the service to add. The TBehaviorWithNew must inherit the WebSocketBehavior class, and must have a public parameterless constructor.