socket.io-client-dart icon indicating copy to clipboard operation
socket.io-client-dart copied to clipboard

socket.io-client-dart: Dartlang port of socket.io-client https://github.com/socketio/socket.io-client

Results 158 socket.io-client-dart issues
Sort by recently updated
recently updated
newest added

I am testing this library, and when I run I get the following error in connect_error ![image](https://user-images.githubusercontent.com/22886367/130092901-beb40134-931a-4ff9-99c3-f0a2eb8ae7cb.png) No tengo ni idea de porque ocurre este error

```import 'dart:async'; import 'package:socket_io_client/socket_io_client.dart'; import '../../config.dart'; import '../showSnack.dart'; class DataStreamBloc { final _stateStreamController = StreamController(); StreamSink get dataSink => _stateStreamController.sink; Stream get dataStream => _stateStreamController.stream; } StreamController controller = StreamController.broadcast();...

Is there some way to mock a WebSocket connection ? I want to make unit testing for the socket handlers in my app, there is any way to perform that...

I'm using 2.0.0-beta.4-nullsafety.0 and I'm trying to get a new token when the client reconnects. ``` socket.onReconnect((data) async{ print('Socket Reconnect'); socket.auth = await _buildAuthOptions(); socket.disconnect().connect(); }); ``` I've tested this...

Hi, socket_io_client: ^2.0.0-beta.3 && 2.0.0-beta.3-nullsafety.0 Im using flutter 2.0.4 I notice connection sometime disconnect by it self and reconnect again. This happened at random. And i notice when i send...

Firstly, I tried to set a new query after server socket response 'UNAVAILABLE' but didn't work, so I decided to create a socket client with a different query value, but...

Hi, is it possible to use this to talk raw tcp-backend server without websocket etc...? essentially, instead of connecting to an http server at http://myhost:80 i would able to connect...

reconnect and ping/pong related events are actually under Manager instead of Socket class. Therefore, the correct way to subscribe them should be like: ```dart void onReconnectFailed(EventHandler handler) { // incorrect...

Any time I add the package to my dependencies and run pub get, it fails and the app is unable to build. The error is given below: [flutter_chat] flutter pub...

It notifies me after a few seconds when I turn off the internet socket.onDisconnect((data) { print('onDisconnect'); }); good in android device

flutter-related