}
public stop(): void {
+ this.stopHttpServer();
this.chargingStations.clear();
}
next();
}
+ private stopHttpServer(): void {
+ if (this.httpServer.listening === true) {
+ this.httpServer.close();
+ }
+ }
+
private isBasicAuthEnabled(): boolean {
return (
this.uiServerConfiguration.authentication?.enabled === true &&