Index: pkg/scheduled_test/lib/src/scheduled_server/safe_http_server.dart |
diff --git a/pkg/scheduled_test/lib/src/scheduled_server/safe_http_server.dart b/pkg/scheduled_test/lib/src/scheduled_server/safe_http_server.dart |
index 7e4e4ccc28c0280899959f13455ba6b8c060fafb..a75add40fe03703d5195459caa6ed2e244e1f843 100644 |
--- a/pkg/scheduled_test/lib/src/scheduled_server/safe_http_server.dart |
+++ b/pkg/scheduled_test/lib/src/scheduled_server/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.writeStream(stream); |
- Future<HttpResponse> writeStream(Stream<List<int>> stream) => |
- _inner.writeStream(stream); |
+ _inner.addStream(stream); |
Future close() => _inner.close(); |
void write(Object obj) => _inner.write(obj); |
void writeAll(Iterable objects, [String separator = ""]) => |