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

Unified Diff: pkg/http/lib/http.dart

Issue 14188048: add installation instructions to pkg packages (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: tweaks from review Created 7 years, 8 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
Index: pkg/http/lib/http.dart
diff --git a/pkg/http/lib/http.dart b/pkg/http/lib/http.dart
index 07457cdc347df6187cab8e27f0efb53d628b1855..72ce68f6eaed2cb5d1716343ca07339ae6906b14 100644
--- a/pkg/http/lib/http.dart
+++ b/pkg/http/lib/http.dart
@@ -4,6 +4,19 @@
/// A composable, [Future]-based library for making HTTP requests.
///
+/// ## Installing ##
+///
+/// Use [pub][] to install this package. Add the following to your
+/// `pubspec.yaml` file.
+///
+/// dependencies:
+/// http: any
+///
+/// Then run `pub install`.
+///
+/// For more information, see the
+/// [http package on pub.dartlang.org](http://pub.dartlang.org/packages/http).
+///
/// The easiest way to use this library is via the top-level functions. They
/// allow you to make individual HTTP requests with minimal hassle:
///
@@ -50,6 +63,8 @@
/// return _inner.send(request);
/// }
/// }
+///
+/// [pub]: http://pub.dartlang.org
library http;
import 'dart:async';
« no previous file with comments | « pkg/args/lib/args.dart ('k') | pkg/intl/lib/intl.dart » ('j') | pkg/logging/lib/logging.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698