kuzzleio/kuzzle-device-manager

[Events] before/after/error payload:decode

Closed this issue · 0 comments

Description

Add event before/after/error at Payload level

Trigger when a payload is received (equal to device-manager/payload:before*)

  • device-manager:payload:decode:before => { payload, decoder }

Trigger after a payload has been received

  • device-manager:payload:decode:after => { payload, device, decoder }

Trigger when a payload could not have been decoded

  • device-manager:payload:decode:error => { payload, error }