Skip to content

ts-ocpp v2.5.0

Latest
Compare
Choose a tag to compare
@eduhenke eduhenke released this 21 Dec 14:21
· 48 commits to main since this release

Add websocket request/response listener to central-system.

Now you can log every request and response made to and from the central-system, by adding this function in the options argument in the CentralSystem constructor:

  onWebsocketRequestResponse: (initiator, type, data, { chargePointId }) => console.log({ initiator, type, data, chargePointId }),