You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This will reply to server `PING` messages.
This is the first iteration. There is another PR with a different
solution.
PROS:
* Simpler parser
* Message isn't "misrepresented" from the parser. It returns just the
`PING`, not manufacturing fake `sid` or `body`
CONS:
* Handler is a little funky. Since the message is a different format,
it requires a bit more work in the handler to deal with the
differences.
Resolves#12
This is the second implementation handling PING/PONG.
It feels a little cleaner, and the code is a bit simpler.
EXCEPT:
The parser generates an "artificial" message containing empty `sid` and
`body` fields. Probably not a big deal, but looks a little strange.
Resolves#12
No description provided.
The text was updated successfully, but these errors were encountered: