Skip to content

Will spec add HEARTBEAT message? #490

Answered by KSDaemon
SunFulong asked this question in Q&A
Discussion options

You must be logged in to vote

You're right. There is no way around that.
For now you have a few options:

  1. Setup ping messages on the router side as some implementations allow that.
  2. Setup fake RPC in your backend and call it regularly from the browser client side or even just publish to some meaningless topic with confirmation (thus you can be sure that both directions work: r/w)

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.

Replies: 3 comments 15 replies

Comment options

You must be logged in to vote
14 replies
@SunFulong
Comment options

@KSDaemon
Comment options

Answer selected by SunFulong
@oberstet
Comment options

@SunFulong
Comment options

@SunFulong
Comment options

@KSDaemon
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@SunFulong
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants