Skip to content

Commit

Permalink
Merge pull request flutter#14 from dart-lang/grouma-patch-1
Browse files Browse the repository at this point in the history
Fix bug in sample code in README
  • Loading branch information
grouma authored Aug 28, 2018
2 parents 703923a + 4c62e90 commit ff16a50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import 'package:shelf_web_socket/shelf_web_socket.dart';
void main() {
var handler = webSocketHandler((webSocket) {
webSocket.listen((message) {
webSocket.stream.listen((message) {
webSocket.add("echo $message");
});
});
Expand Down

0 comments on commit ff16a50

Please sign in to comment.