socket_io_client 3.1.6 copy "socket_io_client: ^3.1.6" to clipboard
socket_io_client: ^3.1.6 copied to clipboard

Dartlang port of socket.io-client for web, flutter, dartvm to use

3.1.6 #

Bug fix:

  • #442 Restore the HttpClientAdapter class and OptionBuilder.setHttpClientAdapter() that were unintentionally removed in 3.1.5 (a SemVer-breaking change in a patch release). They are now deprecated thin compatibility shims that bridge onto the package:web_socket transport via setWebSocketConnector, and will be removed in 4.0.0. Migrate to OptionBuilder.setWebSocketConnector().
  • #441 fix: NoSuchMethodError when the server replies with an empty ack (no payload) while a timeout/ackTimeout is set (e.g. via emitWithAckAsync or socket.timeout(x).emit(...)).

3.1.5 #

New Feature:

  • #435 feat!: unify the WebSocket transport with package:web_socket for a single native/web implementation. Custom implementations can be supplied through setWebSocketConnector (e.g. CupertinoWebSocket/OkHttpWebSocket); setExtraHeaders continues to work out of the box on native (dart:io) platforms via the default connector (browsers still cannot send custom headers on the WebSocket handshake).
  • #437 Added OptionBuilder.disableWithCredentials() to mirror enableWithCredentials().

Bug fix:

  • #439 fix: _drainQueue crashes with Bad state: No element when an event is emitted with no arguments while retries is set.
  • #438 fix: dispose() now clears _anyListeners and _anyOutgoingListeners.
  • #437 fix: parseqs.decode() crash on key-only query params (e.g. a=1&flag&c=3).

3.1.4 #

Bug fix:

  • #432 Fix: #331 Emit Connect_error for Middleware Reject
  • #434 fix: Port incorrectly set to 0 for hostnames with multiple subdomains

3.1.3 #

New Feature:

  • #427 Added withCredentials as an option

3.1.2 #

Bug fix:

  • #379 Dynamic call with too many positional arguments. Expected: 2 Actual: 3

3.1.1 #

New Feature:

  • #416 Add Support for Custom HttpClient Configuration

3.1.0+2 #

3.1.0+1 #

3.1.0 #

Bug fix:

  • #392 [Flutter WASM] No transports available
  • #404 Flutter web socket connection problem on wasm

3.0.2 #

Bug fix:

  • #399 [Issue] Fixes timestamp param

3.0.1 #

Bug fix:

  • #398 [Issue] Unhandled Exception: type 'String' is not a subtype of type 'Iterable

3.0.0 #

Bug fix:

  • Upgrade to use socket_io_common 3.0.0

3.0.0-beta.4 #

Bug fix:

  • #394 Incorrect argument matching in notifyOutgoingListeners

3.0.0-beta.3 #

Bug fix:

  • #393 Bug: type 'Null' is not a subtype of type 'bool'

3.0.0-beta.2 #

Bug fix:

  • #373 hot restart error - Unhandled Exception: type 'Null' is not a subtype of type 'bool'

3.0.0-beta.1 #

Bug fix:

  • #367 Error on dispose

3.0.0-beta.0 #

New Feature:

  • Update codebase for compatibility with Socket.IO v4.7.4 and migrate to Dart version 3
  • #55 how to custom parser
  • #322 added emitWithAckAsync
  • #334 Socket.on... returns disposer function
  • #343 Empty query map in OptionsBuilder throws RangeError
  • #353 Add timeout on emit and emitWithAck

Bug fix:

  • #360 Library is not compatible with latest version on socket.io 4.7.4

2.0.3+1 #

Fix dart analyzing issues

2.0.3 #

New Feature:

  • #338 feat: implement connection state recovery

2.0.2 #

Bug fix:

  • #330 Client throws error when buffer is received

2.0.1 #

New Feature:

  • #310 Add setAuthFn for OptionBuilder

Bug fix:

  • #287 reconnecting event is not triggered

2.0.0 #

New Feature:

  • #237 Allow sending an ack with multiple data items (making it consistent with emit)

1.0.2 #

New Feature:

  • #237 Allow sending an ack with multiple data items (making it consistent with emit)

1.0.1 #

Bug fix:

  • #188 Fixbug for Backoff when many attempts: "UnsupportedError: Unsupported operation: Infinity or NaN toInt"

2.0.0-beta.4-nullsafety.0 #

New Feature:

  • #177 Send credentials with the auth option

Bug fix:

  • #172 socket id's not synced

2.0.0-beta.3-nullsafety.0 #

New Feature:

  • #163 Null safety support for 2.0.0-beta

2.0.0-beta.3 #

Bug fix:

  • #150 Problem with setQuery in socket io version 3.0

2.0.0-beta.2 #

Bug fix:

  • #140 getting Error on emitWithAck() in v2 beta

2.0.0-beta.1 #

New Feature:

  • #130 Cannot connect to socket.io V3
  • #106 Can we combine emitWithBinary to emit?

1.0.0 #

  • #172 socket id's not synced

2.0.0-beta.3-nullsafety.0 #

New Feature:

  • #163 Null safety support for 2.0.0-beta

2.0.0-beta.3 #

Bug fix:

  • #150 Problem with setQuery in socket io version 3.0

2.0.0-beta.2 #

Bug fix:

  • #140 getting Error on emitWithAck() in v2 beta

2.0.0-beta.1 #

New Feature:

  • #130 Cannot connect to socket.io V3
  • #106 Can we combine emitWithBinary to emit?

New Feature:

  • #132 Migrating to null safety for Dart

0.9.12 #

New Feature:

  • #46 Make this library more "Darty"

0.9.11 #

New Feature:

  • #108 Need dispose method for clearing resources

0.9.10+2 #

  • Fix dart analyzer warning for formatting issues.

0.9.10+1 #

  • Fix dart analyzer warning.

0.9.10 #

Bug fix:

  • #72 Can't send Iterable as one packet

0.9.9 #

Bug fix:

  • #67 Retry connection backoff after 54 tries reconnections every 0 second

0.9.8 #

Bug fix:

  • #33 socket.on('receiveMessage',(data)=>print("data")) called twice

0.9.7+2 #

New Feature:

  • #48 add links to github repo in pubspec.yaml

0.9.7+1 #

New Feature:

  • #38 Improve pub.dev score

0.9.6+3 #

Bug fix:

  • #42 Error when using emitWithAck

0.9.5 #

New Feature:

  • #34 Add support for extraHeaders

Bug fix:

  • #39 The factor of Backoff with 54 retries causes an overflow
1.54k
likes
150
points
197k
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Dartlang port of socket.io-client for web, flutter, dartvm to use

Homepage
Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

logging, socket_io_common, web, web_socket

More

Packages that depend on socket_io_client