esp-protocols
esp-protocols copied to clipboard
feat(websocket): Create specific Event for PONG message
Description
- Separate the PONG message from generic payload, this can make it easier to identify when a timeout occur when receiving a payload
Related
- Fixes #777
- Fixes #858
I believe this should be marked as a breaking change. Although the event is new, how the users were dealing with the PONG message before?
@euripedesrocha
I believe this should be marked as a breaking change. Although the event is new, how the users were dealing with the PONG message before?
From all the context I've got they were all being handled at the "WEBSOCKET_EVENT_DATA" or ignored, have no inputs on if they were also handled in an app level... But yes, this might be a breaking change.