浏览代码

fix startup fail

Robert 1 年之前
父节点
当前提交
8499573bef
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      SuperWebSocket/WebSocketServer.cs

+ 1 - 1
SuperWebSocket/WebSocketServer.cs

@@ -138,7 +138,7 @@ namespace SuperWebSocket
         /// Initializes a new instance of the <see cref="WebSocketServer&lt;TWebSocketSession&gt;"/> class.
         /// Initializes a new instance of the <see cref="WebSocketServer&lt;TWebSocketSession&gt;"/> class.
         /// </summary>
         /// </summary>
         public WebSocketServer()
         public WebSocketServer()
-            : base()
+            : base(new WebSocketProtocol())
         {
         {
 
 
         }
         }