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

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

Issue 137953005: HttpSession: better toString() (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: tweaks, long lines Created 6 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 | « sdk/lib/io/http_parser.dart ('k') | sdk/lib/io/io.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/io/http_session.dart
diff --git a/sdk/lib/io/http_session.dart b/sdk/lib/io/http_session.dart
index 9d87ae9fb86be095abb4caad95c4ccaec83e4be9..159a54d44c92e412c18ec0cb91c0828344679388 100644
--- a/sdk/lib/io/http_session.dart
+++ b/sdk/lib/io/http_session.dart
@@ -60,6 +60,8 @@ class _HttpSession implements HttpSession {
int get length => _data.length;
bool get isEmpty => _data.isEmpty;
bool get isNotEmpty => _data.isNotEmpty;
+
+ String toString() => 'HttpSession id:$id $_data';
}
// Private class used to manage all the active sessions. The sessions are stored
« no previous file with comments | « sdk/lib/io/http_parser.dart ('k') | sdk/lib/io/io.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698