Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
export default class UIWebSocketServer extends Server {
public readonly chargingStations: Set<string>;
- public readonly uiServices: Map<ProtocolVersion, AbstractUIService>;
+ private readonly uiServices: Map<ProtocolVersion, AbstractUIService>;
public constructor(options?: ServerOptions, callback?: () => void) {
// Create the WebSocket Server
-import { ServerOptions } from 'ws';
import { StorageType } from './Storage';
+import { ServerOptions as WSServerOptions } from 'ws';
import type { WorkerChoiceStrategy } from 'poolifier';
import { WorkerProcessType } from './Worker';
export interface UIServerConfiguration {
enabled?: boolean;
- options?: ServerOptions;
+ options?: WSServerOptions;
}
export interface StorageConfiguration {