xtransport 0.0.7 copy "xtransport: ^0.0.7" to clipboard
xtransport: ^0.0.7 copied to clipboard

xtransport is a network transport interface,it provide a simple way to manage network transport like unix/tcp/ws/udp/quic...

0.0.7 #

  • fix event handling logic: remove redundant onClose calls during connection failures
  • improve semantic clarity: connection failures now only trigger onError, not onClose
  • connection failures (never established) vs connection closures (established then lost) now have distinct event handling
  • add comprehensive event handling tests to verify proper behavior
  • applies to TCP, WebSocket IO, and WebSocket HTML implementations

0.0.6 #

  • fix critical naming conflict: renamed Error class to XTransportError to avoid collision with Dart's built-in Error class
  • fix TCP client assertion: changed from incorrect tls:// protocol to correct tcp:// protocol
  • fix JSON serialization bugs: improved Message.fromJson, RemoteInfo.fromJson, and LocalInfo.fromJson logic
  • fix WebSocket HTML implementation: corrected send() method to use sendTypedData() for proper binary data transmission
  • fix error handling consistency: restored missing _onClose?.call() in error scenarios across all transport implementations
  • improve API exports: added jsons.dart export to main library for better public API access
  • add comprehensive test coverage for all bug fixes

0.0.5 #

  • add web platform support

0.0.4+7 #

  • add the websockets support

0.0.4+4 #

  • fix the bug tcp timeout

0.0.4+3 #

  • fix the bug tcp timeout

0.0.4+2 #

  • move to hkloudou/darts

0.0.4+1 #

  • remove wrong method flush.(fix some bug)

0.0.4 #

  • update credentials interface

0.0.3 #

  • lint some coce, and remove some unuse field

0.0.2 #

  • lint some coce, and remove some unuse field

0.0.1 #

  • TODO: Describe initial release.
2
likes
150
points
164
downloads

Publisher

unverified uploader

Weekly Downloads

xtransport is a network transport interface,it provide a simple way to manage network transport like unix/tcp/ws/udp/quic...

Repository (GitHub)
View/report issues

Documentation

API reference

License

GPL-3.0 (license)

More

Packages that depend on xtransport