-
Notifications
You must be signed in to change notification settings - Fork 495
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Force websocket #62
Comments
same here |
yup, need that as well. The options are missing on the client |
as a temporary workaround you can require the library that is used internally and create your own socket instance that you pass to Vue-Socket.io import io from 'socket.io-client';
import VueSocketio from 'vue-socket.io';
const socketInstance = io('http://localhost:3333', {
transports: ['websocket'],
});
Vue.use(VueSocketio, socketInstance, store); |
Hi @MetinSeylan, would you mind sharing the reasons for closing this issue? |
Not working with the lastest version |
try like this |
@MetinSeylan Thank you , it works |
How force to use websocket ?
On the server node with socket.io :
In my app electron-vue i have this error :
Sry for my english
The text was updated successfully, but these errors were encountered: