xtransport 0.0.7
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
onClosecalls during connection failures - improve semantic clarity: connection failures now only trigger
onError, notonClose - 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
Errorclass toXTransportErrorto avoid collision with Dart's built-in Error class - fix TCP client assertion: changed from incorrect
tls://protocol to correcttcp://protocol - fix JSON serialization bugs: improved
Message.fromJson,RemoteInfo.fromJson, andLocalInfo.fromJsonlogic - fix WebSocket HTML implementation: corrected
send()method to usesendTypedData()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.dartexport 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.