-
Notifications
You must be signed in to change notification settings - Fork 8
Closed
Description
Unable to connect to a socketcluster server using Flutter on mobile:
Unhandled Exception: NoSuchMethodError: Closure call with mismatched arguments: function 'onOpen'
Receiver: Closure: (String, {Iterable<String> protocols, Map<String, dynamic> headers, CompressionOptions compression}) => Future<WebSocket> from Function 'connect': static.
Tried calling: onOpen
Found: onOpen(String, {Iterable<String> protocols, Map<String, dynamic> headers, CompressionOptions compression}) => Future<WebSocket>
#0 Object.noSuchMethod (dart:core-patch/object_patch.dart:51:5)
#1 new Socket._internal
package:socketcluster_client/src/socket.dart:36
#2 Socket.connect
package:socketcluster_client/src/socket.dart:52
Metadata
Metadata
Assignees
Labels
No labels