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

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

Issue 14028017: Remove .writeStream, .consume and rewrite IOSink to correctly implement a (sane) well-defined behav… (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Review comments. 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 | « sdk/lib/io/file_impl.dart ('k') | sdk/lib/io/http_impl.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/io/http.dart
diff --git a/sdk/lib/io/http.dart b/sdk/lib/io/http.dart
index 72fd67c5b4ee5ed191d0b11d70af7747ecf2b304..db34d8dd0d5cdbdf6df7a74eca917c9cd99b1a48 100644
--- a/sdk/lib/io/http.dart
+++ b/sdk/lib/io/http.dart
@@ -703,7 +703,7 @@ abstract class HttpRequest implements Stream<List<int>> {
* If an unsupported encoding is used an exception will be thrown if
* using one of the write methods taking a string.
*/
-abstract class HttpResponse implements IOSink<HttpResponse> {
+abstract class HttpResponse implements IOSink {
// TODO(ajohnsen): Add documentation of how to pipe a file to the response.
/**
* Gets and sets the content length of the response. If the size of
@@ -1012,8 +1012,7 @@ abstract class HttpClient {
* If an unsupported encoding is used an exception will be thrown if
* using one of the write methods taking a string.
*/
-abstract class HttpClientRequest
- implements IOSink<HttpClientResponse> {
+abstract class HttpClientRequest implements IOSink {
/**
* Gets and sets the content length of the request. If the size of
* the request is not known in advance set content length to -1,
« no previous file with comments | « sdk/lib/io/file_impl.dart ('k') | sdk/lib/io/http_impl.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698