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

Side by Side Diff: sdk/lib/io/io.dart

Issue 2389833002: Update recommendations for HTTP server packages (Closed)
Patch Set: nits Created 4 years, 2 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 unified diff | Download patch
« no previous file with comments | « sdk/lib/io/http.dart ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 /** 5 /**
6 * File, socket, HTTP, and other I/O support for server applications. 6 * File, socket, HTTP, and other I/O support for server applications.
7 * 7 *
8 * The I/O library is used for Dart server applications, 8 * The I/O library is used for Dart server applications,
9 * which run on a stand-alone Dart VM from the command line. 9 * which run on a stand-alone Dart VM from the command line.
10 * *This library does not work in browser-based applications.* 10 * *This library does not work in browser-based applications.*
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 * }); 55 * });
56 * 56 *
57 * ## HttpServer and HttpClient 57 * ## HttpServer and HttpClient
58 * 58 *
59 * The classes [HttpServer] and [HttpClient] 59 * The classes [HttpServer] and [HttpClient]
60 * provide HTTP server and HTTP client functionality. 60 * provide HTTP server and HTTP client functionality.
61 * 61 *
62 * The [HttpServer] class provides the basic functionality for 62 * The [HttpServer] class provides the basic functionality for
63 * implementing an HTTP server. 63 * implementing an HTTP server.
64 * For some higher-level building-blocks, we recommend that you try 64 * For some higher-level building-blocks, we recommend that you try
65 * the [http_server](https://pub.dartlang.org/packages/http_server) 65 * the [shelf](https://pub.dartlang.org/packages/shelf)
66 * pub package, which contains 66 * pub package, which contains
67 * a set of high-level classes that, together with the [HttpServer] class 67 * a set of high-level classes that, together with the [HttpServer] class
68 * in this library, make it easier to implement HTTP servers. 68 * in this library, make it easier to implement HTTP servers.
69 * 69 *
70 * ## Process 70 * ## Process
71 * 71 *
72 * The [Process] class provides a way to run a process on 72 * The [Process] class provides a way to run a process on
73 * the native machine. 73 * the native machine.
74 * For example, the following code spawns a process that recursively lists 74 * For example, the following code spawns a process that recursively lists
75 * the files under `web`. 75 * the files under `web`.
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 part 'process.dart'; 234 part 'process.dart';
235 part 'secure_server_socket.dart'; 235 part 'secure_server_socket.dart';
236 part 'secure_socket.dart'; 236 part 'secure_socket.dart';
237 part 'security_context.dart'; 237 part 'security_context.dart';
238 part 'service_object.dart'; 238 part 'service_object.dart';
239 part 'socket.dart'; 239 part 'socket.dart';
240 part 'stdio.dart'; 240 part 'stdio.dart';
241 part 'string_transformer.dart'; 241 part 'string_transformer.dart';
242 part 'websocket.dart'; 242 part 'websocket.dart';
243 part 'websocket_impl.dart'; 243 part 'websocket_impl.dart';
OLDNEW
« no previous file with comments | « sdk/lib/io/http.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698