Chromium Code Reviews| 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}); |
| } |
| -/** |
|
Anders Johnsen
2013/01/29 08:25:41
Thank you! :)
|
| - * 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; |
| } |