-
Notifications
You must be signed in to change notification settings - Fork 171
feat(websocket): Create specific Event for PONG message #874
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
861cb66
to
7449284
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, just few questions/optional comments
components/esp_websocket_client/examples/target/main/websocket_example.c
Outdated
Show resolved
Hide resolved
components/esp_websocket_client/examples/target/main/websocket_example.c
Outdated
Show resolved
Hide resolved
components/esp_websocket_client/examples/target/main/websocket_example.c
Show resolved
Hide resolved
7449284
to
0976e3c
Compare
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. |
- Separate the PONG message from generic payload, this can make it easier to identify when a timeout occur when receiving a payload
0976e3c
to
881e2e8
Compare
Description
Related