We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c2a2874 commit 3af5422Copy full SHA for 3af5422
README.md
@@ -91,7 +91,7 @@ import 'package:web_socket_channel/io.dart';
91
main() async {
92
var channel = new IOWebSocketChannel.connect("ws://localhost:8181");
93
channel.sink.add("connected!");
94
- channel.sink.listen((message) {
+ channel.stream.listen((message) {
95
// ...
96
});
97
}
@@ -120,7 +120,7 @@ import 'package:web_socket_channel/html.dart';
120
121
var channel = new HtmlWebSocketChannel.connect("ws://localhost:8181");
122
123
124
125
126
0 commit comments