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

The following _TypeError was thrown: type 'String' is not a subtype of type 'int' of 'index' When the exception was thrown, this was the stack: #0 Socket.onpacket (package:socket_io_client/src/socket.dart:398:53) #1 EventEmitter._emit....

Frontend: Flutter (using socket_io_client ^3.0.0) Backend: Node.js (using socket.io ^4.8.0) I'm implementing real-time messaging in chat rooms. When I send a message from my device, it gets stored in the...

question

My settings for socket works fine in default flutter web, but it throws this error `No transports available` when trying on Webassembly mode. Should I need any extras config for...

Hello, First of all, Thanks for the great package ❤️ Would it be possible to add support for the webtransport protocol? Socket.io has recently added support for it in 4.7...

enhancement

``` E/flutter (15940): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: WebSocketException: Connection to 'http://abcd.com:0/ws/#' was not upgraded to websocket E/flutter (15940): #0 _WebSocketImpl.connect (dart:_http/websocket_impl.dart:1011:41) E/flutter (15940): #1 WebSocket.connect (dart:_http/websocket.dart:320:22) E/flutter (15940): #2 new IOWebSocketChannel.connect...

Hi, I'm using your Dart Socket.IO client (v3.1.2) in a Flutter Web application alongside a Socket.IO server. Whenever the server restarts, the client throws the following exception, which breaks the...

I am trying to send image and voice message via socket.io. how can i do that?

Getting lots of logs showing in my console ``` Future start({void Function()? onConnect}) async { if(socket?.connected ?? false) return; socket?.connect(); socket?.onConnectError((data) { xSocketPrint(['failed to connect socket', data]); }); } ```

Can you make the connection options pre-defined instead of a map to reduce the issue of passing non exisiting parametres ?

disableAddTrailingSlash is error,remove disableAddTrailingSlash is not work,should set false:https://socket.io/docs/v4/client-options/#addtrailingslash