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

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

Issue 77893003: Documentation update (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | sdk/lib/io/process.dart » ('j') | sdk/lib/io/process.dart » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/io/http.dart
diff --git a/sdk/lib/io/http.dart b/sdk/lib/io/http.dart
index aa000ffbac3c91540e0f7a2074757f38e8774149..859803740686bae66ca75c8b87e48fcfc650ba4a 100644
--- a/sdk/lib/io/http.dart
+++ b/sdk/lib/io/http.dart
@@ -75,11 +75,11 @@ abstract class HttpStatus {
* The following example shows how to bind a [HttpServer] to a IPv6
* [InternetAddress] on port 80, and listening to requests.
*
- * HttpServer.bind(InternetAddress.ANY_IP_V6, 80).then((server) {
- * server.listen((HttpRequest request) {
- * // Handle requests.
+ * HttpServer.bind(InternetAddress.ANY_IP_V6, 80).then((server) {
+ * server.listen((HttpRequest request) {
+ * // Handle requests.
+ * });
* });
- * });
*/
abstract class HttpServer implements Stream<HttpRequest> {
/**
@@ -1156,18 +1156,18 @@ abstract class HttpClient {
* The string returned by [f] must be in the format used by browser
* PAC (proxy auto-config) scripts. That is either
*
- * "DIRECT"
+ * "DIRECT"
*
* for using a direct connection or
*
- * "PROXY host:port"
+ * "PROXY host:port"
*
* for using the proxy server [:host:] on port [:port:].
*
* A configuration can contain several configuration elements
* separated by semicolons, e.g.
*
- * "PROXY host:port; PROXY host2:port2; DIRECT"
+ * "PROXY host:port; PROXY host2:port2; DIRECT"
*
* The static function [findProxyFromEnvironment] on this class can
* be used to implement proxy server resolving based on environment
« no previous file with comments | « no previous file | sdk/lib/io/process.dart » ('j') | sdk/lib/io/process.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698