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

Unified Diff: runtime/bin/socket_patch.dart

Issue 25010004: Add .address to [Raw]ServerSocket and HttpServer. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Remove 'host' arg from BarbackServer constructor. 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
« no previous file with comments | « no previous file | sdk/lib/_internal/pub/lib/src/barback/load_transformers.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/socket_patch.dart
diff --git a/runtime/bin/socket_patch.dart b/runtime/bin/socket_patch.dart
index 0042aed1eb3a977afcdc850596ecb3721fe50748..7a4694b428eac52728a8574d64ca94200653e81c 100644
--- a/runtime/bin/socket_patch.dart
+++ b/runtime/bin/socket_patch.dart
@@ -711,6 +711,8 @@ class _RawServerSocket extends Stream<RawSocket>
int get port => _socket.port;
+ InternetAddress get address => _socket.address;
+
Future close() => _socket.close().then((_) => this);
void _pause() {
@@ -921,6 +923,8 @@ class _ServerSocket extends Stream<Socket>
int get port => _socket.port;
+ InternetAddress get address => _socket.address;
+
Future close() => _socket.close().then((_) => this);
}
« no previous file with comments | « no previous file | sdk/lib/_internal/pub/lib/src/barback/load_transformers.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698