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

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

Issue 23702061: Fix warnings. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Revise. Created 7 years, 3 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
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 f5f57cf651a8cba80241335e66fd3ac9f6857102..63b7705a75c5f635cb7f4d08d81ab2cf5458e56c 100644
--- a/sdk/lib/_internal/pub/lib/src/safe_http_server.dart
+++ b/sdk/lib/_internal/pub/lib/src/safe_http_server.dart
@@ -39,6 +39,16 @@ class SafeHttpServer extends StreamView<HttpRequest> implements HttpServer {
_inner.sessionTimeout = timeout;
}
+ String get serverHeader => _inner.serverHeader;
+ set serverHeader(String value) {
+ _inner.serverHeader = value;
+ }
+
+ Duration get idleTimeout => _inner.idleTimeout;
+ set idleTimeout(Duration value) {
+ _inner.idleTimeout = value;
+ }
+
HttpConnectionsInfo connectionsInfo() => _inner.connectionsInfo();
StreamSubscription<HttpRequest> listen(void onData(HttpRequest value),
@@ -139,4 +149,12 @@ class _HttpResponseWrapper implements HttpResponse {
void writeCharCode(int charCode) => _inner.writeCharCode(charCode);
void writeln([Object obj = ""]) => _inner.writeln(obj);
void addError(error) => _inner.addError(error);
+
+ Duration get deadline => _inner.deadline;
+ set deadline(Duration value) {
+ _inner.deadline = value;
+ }
+
+ Future redirect(Uri location, {int status: HttpStatus.MOVED_TEMPORARILY}) =>
+ _inner.redirect(location, status: status);
}
« no previous file with comments | « sdk/lib/_internal/pub/lib/src/pubspec.dart ('k') | sdk/lib/_internal/pub/lib/src/solver/backtracking_solver.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698