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

Unified Diff: sdk/lib/io/http.dart

Issue 12095014: IO v2: Update a number of HTTP tests to pass (Closed) Base URL: http://dart.googlecode.com/svn/experimental/lib_v2_io/dart/
Patch Set: Created 7 years, 11 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
« no previous file with comments | « runtime/bin/socket_patch.dart ('k') | sdk/lib/io/http_impl.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/io/http.dart
===================================================================
--- sdk/lib/io/http.dart (revision 17714)
+++ sdk/lib/io/http.dart (working copy)
@@ -831,21 +831,7 @@
void close({bool force: false});
}
-/**
- * DEPRECATED
- */
-abstract class HttpClientConnection {
- // TODO(ajohnsen): Move these methods to the right place (request or response)
-
- /**
- * Get information about the client connection. Returns [null] if the socket
- * isn't available.
- */
- HttpConnectionInfo get connectionInfo;
-}
-
-
/**
* HTTP request for a client connection.
*
@@ -921,6 +907,12 @@
* exception. The default value is 5.
*/
int maxRedirects;
+
+ /**
+ * Get information about the client connection. Returns [null] if the socket
+ * isn't available.
+ */
+ HttpConnectionInfo get connectionInfo;
}
@@ -1013,6 +1005,12 @@
* Returns null if the connection is not a secure TLS or SSL connection.
*/
X509Certificate get certificate;
+
+ /**
+ * Get information about the client connection. Returns [null] if the socket
+ * isn't available.
+ */
+ HttpConnectionInfo get connectionInfo;
}
« no previous file with comments | « runtime/bin/socket_patch.dart ('k') | sdk/lib/io/http_impl.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698