| Index: sdk/lib/_internal/pub/lib/src/safe_http_server.dart
|
| diff --git a/sdk/lib/_internal/pub/lib/src/safe_http_server.dart b/sdk/lib/_internal/pub/lib/src/safe_http_server.dart
|
| index e88ee938f74a5fe5eba4acf5b6d430a2417402c1..f45741fd67fefee969d8bbd0e8ccda0771a5800a 100644
|
| --- a/sdk/lib/_internal/pub/lib/src/safe_http_server.dart
|
| +++ b/sdk/lib/_internal/pub/lib/src/safe_http_server.dart
|
| @@ -31,8 +31,9 @@ class SafeHttpServer extends StreamView<HttpRequest> implements HttpServer {
|
| : super(server),
|
| _inner = server;
|
|
|
| - Future close() => _inner.close();
|
| + Future close({bool force: false}) => _inner.close(force: force);
|
|
|
| + InternetAddress get address => _inner.address;
|
| int get port => _inner.port;
|
|
|
| set sessionTimeout(int timeout) {
|
| @@ -149,6 +150,7 @@ class _HttpResponseWrapper implements HttpResponse {
|
| Future<HttpResponse> addStream(Stream<List<int>> stream) =>
|
| _inner.addStream(stream);
|
| Future close() => _inner.close();
|
| + Future flush() => _inner.flush();
|
| void write(Object obj) => _inner.write(obj);
|
| void writeAll(Iterable objects, [String separator = ""]) =>
|
| _inner.writeAll(objects, separator);
|
|
|