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

Unified Diff: utils/pub/safe_http_server.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 | « tests/standalone/io/stream_pipe_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/pub/safe_http_server.dart
diff --git a/utils/pub/safe_http_server.dart b/utils/pub/safe_http_server.dart
index 8843e488c1e3b2909effd630ba1cad0cb72be36c..083cb938afd38d1553f0176570dc60fad9c84fff 100644
--- a/utils/pub/safe_http_server.dart
+++ b/utils/pub/safe_http_server.dart
@@ -132,12 +132,8 @@ class _HttpResponseWrapper implements HttpResponse {
Future<Socket> detachSocket() => _inner.detachSocket();
HttpConnectionInfo get connectionInfo => _inner.connectionInfo;
void add(List<int> data) => _inner.add(data);
- Future<HttpResponse> consume(Stream<List<int>> stream) =>
- _inner.consume(stream);
Future<HttpResponse> addStream(Stream<List<int>> stream) =>
_inner.addStream(stream);
- Future<HttpResponse> writeStream(Stream<List<int>> stream) =>
- _inner.writeStream(stream);
Future close() => _inner.close();
void write(Object obj) => _inner.write(obj);
void writeAll(Iterable objects) => _inner.writeAll(objects);
« no previous file with comments | « tests/standalone/io/stream_pipe_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698