lorenzodonini / ocpp-go

Open Charge Point Protocol implementation in Go
MIT License
277 stars 126 forks source link

Add Connections method in websocket #284

Open shiv3 opened 4 months ago

shiv3 commented 4 months ago

What

Add a method to get websocket connection information

Why

Some of the chargers we are dealing with do not support websocket ping/pong frames and the Disconnected hook may not be called when the connection is lost. So we need the connection information to reconcile the status of the connected chargers.