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 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
189 * [dart:io section of the library tour] | 189 * [dart:io section of the library tour] |
190 * (https://www.dartlang.org/docs/dart-up-and-running/contents/ch03.html#ch03-da
rtio---file-and-socket-io-for-command-line-apps). | 190 * (https://www.dartlang.org/docs/dart-up-and-running/contents/ch03.html#ch03-da
rtio---file-and-socket-io-for-command-line-apps). |
191 * | 191 * |
192 * To learn more about I/O in Dart, refer to the | 192 * To learn more about I/O in Dart, refer to the |
193 * [tutorial about writing command-line apps] | 193 * [tutorial about writing command-line apps] |
194 * (https://www.dartlang.org/docs/tutorials/io/). | 194 * (https://www.dartlang.org/docs/tutorials/io/). |
195 */ | 195 */ |
196 library dart.io; | 196 library dart.io; |
197 | 197 |
198 import 'dart:async'; | 198 import 'dart:async'; |
199 import 'dart:_collection-dev'; | 199 import 'dart:_internal'; |
200 import 'dart:collection' show HashMap, | 200 import 'dart:collection' show HashMap, |
201 HashSet, | 201 HashSet, |
202 LinkedList, | 202 LinkedList, |
203 LinkedListEntry; | 203 LinkedListEntry; |
204 import 'dart:convert'; | 204 import 'dart:convert'; |
205 import 'dart:isolate'; | 205 import 'dart:isolate'; |
206 import 'dart:math'; | 206 import 'dart:math'; |
207 import 'dart:typed_data'; | 207 import 'dart:typed_data'; |
208 | 208 |
209 part 'bytes_builder.dart'; | 209 part 'bytes_builder.dart'; |
(...skipping 19 matching lines...) Expand all Loading... |
229 part 'platform_impl.dart'; | 229 part 'platform_impl.dart'; |
230 part 'process.dart'; | 230 part 'process.dart'; |
231 part 'socket.dart'; | 231 part 'socket.dart'; |
232 part 'stdio.dart'; | 232 part 'stdio.dart'; |
233 part 'string_transformer.dart'; | 233 part 'string_transformer.dart'; |
234 part 'timer_impl.dart'; | 234 part 'timer_impl.dart'; |
235 part 'secure_socket.dart'; | 235 part 'secure_socket.dart'; |
236 part 'secure_server_socket.dart'; | 236 part 'secure_server_socket.dart'; |
237 part 'websocket.dart'; | 237 part 'websocket.dart'; |
238 part 'websocket_impl.dart'; | 238 part 'websocket_impl.dart'; |
OLD | NEW |