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

Unified Diff: sdk/lib/io/http_impl.dart

Issue 13866006: Implement consumer, not pipe, in _HttpClientRequest. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 8 months 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/io/http_impl.dart
diff --git a/sdk/lib/io/http_impl.dart b/sdk/lib/io/http_impl.dart
index 08a6609b3f057ea6569d5506ac7b3818dca7964d..6224a99fb1b6896ed8f74419edea4a33aaa5a7da 100644
--- a/sdk/lib/io/http_impl.dart
+++ b/sdk/lib/io/http_impl.dart
@@ -734,8 +734,8 @@ class _HttpClientRequest extends _HttpOutboundMessage<HttpClientRequest>
Future<HttpClientResponse> get done => response;
- Future<HttpClientResponse> pipe(Stream<List<int>> stream) {
- super.pipe(stream);
+ Future<HttpClientResponse> consume(Stream<List<int>> stream) {
+ super.consume(stream);
return response;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698