MCPcopy Create free account
hub / github.com/evcc-io/evcc / connect

Method connect

tests/simulator/ocppClient.ts:23–26  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

21 // re-dialing every RECONNECT_DELAY until disconnect() is called, so it survives
22 // an unreachable server or a dropped connection (e.g. evcc restart).
23 connect(): void {
24 this.shouldReconnect = true;
25 this.dial();
26 }
27
28 private dial(): void {
29 const url = `${this.serverUrl}${this.stationId}`;

Callers 2

ocppMiddlewareFunction · 0.95
isMqttReachableFunction · 0.45

Calls 1

dialMethod · 0.95

Tested by

no test coverage detected