lajosbencz / vue-wamp

AutobahnJS wrapper library fo Vue.js
MIT License
48 stars 13 forks source link

Subscribe to connection events #13

Closed ruudboon closed 5 years ago

ruudboon commented 6 years ago

Currently you can only register to the connection events from the configuration. Would it be possible to add something like this

mounted() {
        this.$wamp.onconnect(function(session, details) {
             console.log('WAMP connected', session, details);
        });
    }
lajosbencz commented 5 years ago

It is now, added it in v2.0.0.

https://github.com/lajosbencz/vue-wamp#events