Merge pull request #24021 from WilliamHayward/master

[websocket] Fixed websocket to allow for https and arrays
This commit is contained in:
Armando Aguirre
2018-03-07 13:29:53 -08:00
committed by GitHub

View File

@@ -62,8 +62,8 @@ export interface IConfig {
}
export interface IServerConfig extends IConfig {
/** The http server instance to attach to */
httpServer: http.Server;
/** The http or https server instance(s) to attach to */
httpServer: http.Server | https.Server | (http.Server | https.Server)[];
/**
* The maximum allowed received frame size in bytes.