Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(113)

Side by Side Diff: recipes/dart_io/pkg_http/bin/reading_the_response_body.dart

Issue 99333012: The first few short pkg:http examples (Closed) Base URL: https://github.com/dart-lang/cookbook.git@master
Patch Set: Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 import 'package:http/http.dart' as http;
2
3 void main() {
4 http.read("http://httpbin.org/").then(print);
Anders Johnsen 2013/12/06 11:53:28 This is working due to the toString of a response
shailentuli 2013/12/06 18:16:29 Anders, I'm showing the use of http.read() which r
5 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698