OLD | NEW |
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 Loading... |
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 Loading... |
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'; |
OLD | NEW |