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

Side by Side Diff: dart/sdk/lib/io/http.dart

Issue 60293003: Version 0.8.10.5 (Closed) Base URL: http://dart.googlecode.com/svn/trunk/
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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « dart/sdk/lib/_internal/lib/js_helper.dart ('k') | dart/sdk/lib/io/http_impl.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 part of dart.io; 5 part of dart.io;
6 6
7 /** 7 /**
8 * HTTP status codes. 8 * HTTP status codes.
9 */ 9 */
10 abstract class HttpStatus { 10 abstract class HttpStatus {
(...skipping 1519 matching lines...) Expand 10 before | Expand all | Expand 10 after
1530 factory HttpClientDigestCredentials(String username, String password) => 1530 factory HttpClientDigestCredentials(String username, String password) =>
1531 new _HttpClientDigestCredentials(username, password); 1531 new _HttpClientDigestCredentials(username, password);
1532 } 1532 }
1533 1533
1534 1534
1535 /** 1535 /**
1536 * Information about an [HttpRequest], [HttpResponse], [HttpClientRequest], or 1536 * Information about an [HttpRequest], [HttpResponse], [HttpClientRequest], or
1537 * [HttpClientResponse] connection. 1537 * [HttpClientResponse] connection.
1538 */ 1538 */
1539 abstract class HttpConnectionInfo { 1539 abstract class HttpConnectionInfo {
1540 String get remoteHost; 1540 InternetAddress get remoteAddress;
1541 int get remotePort; 1541 int get remotePort;
1542 int get localPort; 1542 int get localPort;
1543 } 1543 }
1544 1544
1545 1545
1546 /** 1546 /**
1547 * Redirect information. 1547 * Redirect information.
1548 */ 1548 */
1549 abstract class RedirectInfo { 1549 abstract class RedirectInfo {
1550 /** 1550 /**
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
1599 final String message; 1599 final String message;
1600 final List<RedirectInfo> redirects; 1600 final List<RedirectInfo> redirects;
1601 1601
1602 const RedirectException(String this.message, 1602 const RedirectException(String this.message,
1603 List<RedirectInfo> this.redirects); 1603 List<RedirectInfo> this.redirects);
1604 1604
1605 String toString() => "RedirectException: $message"; 1605 String toString() => "RedirectException: $message";
1606 1606
1607 Uri get uri => redirects.last.location; 1607 Uri get uri => redirects.last.location;
1608 } 1608 }
OLDNEW
« no previous file with comments | « dart/sdk/lib/_internal/lib/js_helper.dart ('k') | dart/sdk/lib/io/http_impl.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698