socket.io-client-dart: Dartlang port of socket.io-client https://github.com/socketio/socket.io-client
675
stars
185
forks
source link
"socket.io": "^4.6.1" not able to connect neither its showing any error neither its creating any breakpoint. #349
Closed
RohitMundhra123 closed 1 year ago
socket = IO.io( "https://urlofsocket/", // <String, dynamic>{ // 'transports': ['websocket'], // 'autoConnect': false, // 'rejectUnauthorized': false, // 'auth': (cb) => cb({'token': accessToken}), // 'reconnectionDelayMax': 10000, // }); IO.OptionBuilder() .setTransports(['websocket']) .disableAutoConnect() .setReconnectionDelayMax(10000) .setAuthFn((cb) => cb({'token': accessToken})) .build());