probil / vue-socket.io-extended

:v::zap: Socket.io bindings for Vue.js and Vuex (inspired by Vue-Socket.io)
MIT License
628 stars 38 forks source link

Multiple Socket Namespaces #538

Closed abdulhadi-lababidi closed 2 years ago

abdulhadi-lababidi commented 2 years ago

In my project, the backend has multiple socket namespaces, let say:

const socketApp1Module1 = io('/app1/module_1'); const socketApp1Module2 = io('/app1/module_2'); const socketApp2Module1 = io('/app1/module_1'); Vue.use(VueSocketIOExt, ?What should I pass here?);

and on the same page I might have a use case that would require me to connect and receive events from multiple namespaces and the events from different namespaces may conflict with each other

so any suggestion how to achieve that using this cool library?

probil commented 2 years ago

Hi @abdulhadi-lababidi

Unfortunately multiple namespaces aren't supported at the moment. Closing because it's duplication of #81