Преглед на файлове

createWebSocketServer option

Sergii KLiuchnyk преди 2 години
родител
ревизия
abaf9ab3b4
променени са 1 файла, в които са добавени 1 реда и са изтрити 0 реда
  1. 1 0
      index.d.ts

+ 1 - 0
index.d.ts

@@ -26,6 +26,7 @@ declare interface IConfig {
     cert: string;
   };
   readonly generateClientId?: () => string;
+  readonly createWebSocketServer?: (options: WebSocketLib.ServerOptions) => WebSocketLib.Server;
 }
 
 declare interface IClient {