How is it possible to ensure that Autobahn only creates a single connection?
Is it possible to either check for existing connections before calling connection.open
, or perhaps kill all other connections on connection.onopen
?
How is it possible to ensure that Autobahn only creates a single connection?
Is it possible to either check for existing connections before calling connection.open
, or perhaps kill all other connections on connection.onopen
?
When using AutobahnJS (which I assume this relates to), you will generally not need to open multiple connections. If your application connects to a single WAMP server, then you can use the single connection for all WAMP actions while it persists, i.e. for all your subscriptions, publishes, registrations and calls.