this.chargingStations.clear();
}
- public async sendBroadcastChannelRequest(request: ProtocolRequest): Promise<ProtocolResponse> {
+ public async sendInternalRequest(request: ProtocolRequest): Promise<ProtocolResponse> {
const protocolVersion = ProtocolVersion['0.0.1'];
this.registerProtocolVersionUIService(protocolVersion);
return this.uiServices.get(protocolVersion)?.requestHandler(request);
}
+ public hasResponseHandler(id: string): boolean {
+ return this.responseHandlers.has(id);
+ }
+
protected startHttpServer(): void {
if (this.httpServer.listening === false) {
this.httpServer.listen(this.uiServerConfiguration.options);