Answer the question
In order to leave comments, you need to log in
Why doesn't socket.io work on iOS and Firefox?
Good afternoon.
I use feathers/client + socket.io-client and when connecting to the front I use this code:
this._socket = io(environment.domain.api, {
transports: ['websocket']
});
this._socket.on('reconnect_attempt', () => {
this._socket.io.opts.transports = ['polling', 'websocket'];
});
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question