11[ ![ pub package] ( https://img.shields.io/pub/v/web_socket.svg )] ( https://pub.dev/packages/web_socket )
22[ ![ package publisher] ( https://img.shields.io/pub/publisher/web_socket.svg )] ( https://pub.dev/packages/web_socket/publisher )
33
4- Any easy-to-use library for communicating with
4+ An easy-to-use library for communicating with
55[ WebSockets] ( https://en.wikipedia.org/wiki/WebSocket ) that has multiple
66implementations.
77
@@ -12,19 +12,18 @@ The goal of `package:web_socket` is to provide a simple, well-defined
1212consistent behavior across implementations.
1313
1414[ ` package:web_socket_channel ` ] ( https://pub.dev/documentation/web_socket_channel/ )
15- is currently the most popular WebSocket package. It has
16- two implementations, one based on ` package:web ` and the other based on
17- ` dart:io ` ` WebSocket ` . But those implementations do not have consistent
18- behavior.
15+ is the most popular WebSocket package but it is complex and does not have
16+ consistent behavior across implementations.
1917
2018[ ` WebSocket ` ] ( https://pub.dev/documentation/web_socket/latest/web_socket/WebSocket-class.html )
21- currently has three implementations (with more on the way) that
22- all pass the same set of
19+ currently has four implementations that all pass the same set of
2320[ conformance tests] ( https://github.com/dart-lang/http/tree/master/pkgs/web_socket_conformance_tests ) :
2421
2522* [ ` BrowserWebSocket ` ] ( https://pub.dev/documentation/web_socket/latest/browser_web_socket/BrowserWebSocket-class.html )
2623* [ ` CupertinoWebSocket ` ] ( https://pub.dev/documentation/cupertino_http/latest/cupertino_http/CupertinoWebSocket-class.html )
2724* [ ` IOWebSocket ` ] ( https://pub.dev/documentation/web_socket/latest/io_web_socket/IOWebSocket-class.html )
25+ * [ ` OkHttpWebSocket ` ] ( https://pub.dev/documentation/ok_http/latest/ok_http/OkHttpWebSocket-class.html )
26+ (currently experimental)
2827
2928## Using
3029
@@ -50,18 +49,3 @@ void main() async {
5049 socket.sendText('Hello Dart WebSockets! 🎉');
5150}
5251```
53-
54- ## Status: experimental
55-
56- ** NOTE** : This package is currently experimental and published under the
57- [ labs.dart.dev] ( https://dart.dev/dart-team-packages ) pub publisher in order to
58- solicit feedback.
59-
60- For packages in the labs.dart.dev publisher we generally plan to either graduate
61- the package into a supported publisher (dart.dev, tools.dart.dev) after a period
62- of feedback and iteration, or discontinue the package. These packages have a
63- much higher expected rate of API and breaking changes.
64-
65- Your feedback is valuable and will help us evolve this package. For general
66- feedback, suggestions, and comments, please file an issue in the
67- [ bug tracker] ( https://github.com/dart-lang/http/issues ) .
0 commit comments