Index: pkg/http/lib/http.dart |
diff --git a/pkg/http/lib/http.dart b/pkg/http/lib/http.dart |
index d13b2fb6f10e5cfef79927411420234ddca17540..ee074f77a4287dbceb83dcad61b43352371e8a3e 100644 |
--- a/pkg/http/lib/http.dart |
+++ b/pkg/http/lib/http.dart |
@@ -37,11 +37,11 @@ |
/// This package is designed to be composable. This makes it easy for external |
/// libraries to work with one another to add behavior to it. Libraries wishing |
/// to add behavior should create a subclass of [BaseClient] that wraps another |
-/// [BaseClient] and adds the desired behavior: |
+/// [Client] and adds the desired behavior: |
/// |
/// class UserAgentClient extends http.BaseClient { |
/// final String userAgent; |
-/// final HttpClient _inner; |
+/// final http.Client _inner; |
/// |
/// UserAgentClient(this.userAgent, this._inner); |
/// |
@@ -50,9 +50,6 @@ |
/// return _inner.send(request); |
/// } |
/// } |
-/// |
-/// In turn, libraries using [Client] should take a [BaseClient] so that the |
-/// decorated clients can be used transparently. |
library http; |