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

Unified Diff: sdk/lib/_internal/pub/lib/src/safe_http_server.dart

Issue 89493002: Fix some static warnings. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 1 month 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/_internal/pub/lib/src/dart.dart ('k') | sdk/lib/_internal/pub/lib/src/source/git.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « sdk/lib/_internal/pub/lib/src/dart.dart ('k') | sdk/lib/_internal/pub/lib/src/source/git.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698