Index: pkg/http/test/safe_http_server.dart |
diff --git a/pkg/http/test/safe_http_server.dart b/pkg/http/test/safe_http_server.dart |
index 2b388dda4691c397e032ee2de5e96b2c5b0bef11..8acc1abb6117bd483a789ffe542c493a8d7a3a4e 100644 |
--- a/pkg/http/test/safe_http_server.dart |
+++ b/pkg/http/test/safe_http_server.dart |
@@ -132,10 +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> writeStream(Stream<List<int>> stream) => |
- _inner.writeStream(stream); |
+ Future<HttpResponse> addStream(Stream<List<int>> stream) => |
+ _inner.addStream(stream); |
Future close() => _inner.close(); |
void write(Object obj) => _inner.write(obj); |
void writeAll(Iterable objects, [String separator = ""]) => |