-
As I know, browser's websocket client can't send websocket native ping/pong message, so if a websocket have a short idle timeout (10 mins), connection will drop frequently, will spec add HEARTBEAT message to keep alive the connection? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 15 replies
-
@SunFulong WebSockets have |
Beta Was this translation helpful? Give feedback.
-
what the current spec text might lack to mention explicitly for extension messages:
|
Beta Was this translation helpful? Give feedback.
-
One workaround that I use to "emulate" a ping on top of WAMP is to publish to a topic like |
Beta Was this translation helpful? Give feedback.
You're right. There is no way around that.
For now you have a few options:
IDK about introducing ping/pong into the WAMP protocol itself... As WAMP — is an Application level protocol. And it is not caring much about transport problems (to some degree). And btw, the problem is only with one specific transport and only in one type of environment: browser.