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 * For an introduction to I/O in Dart, see the [dart:io section of the library | 189 * For an introduction to I/O in Dart, see the [dart:io section of the library |
190 * tour](https://www.dartlang.org/docs/dart-up-and-running/ch03.html#dartio---io
-for-command-line-apps). | 190 * tour](https://www.dartlang.org/docs/dart-up-and-running/ch03.html#dartio---io
-for-command-line-apps). |
191 * | 191 * |
192 * To learn more about I/O in Dart, refer to the [tutorial about writing | 192 * To learn more about I/O in Dart, refer to the [tutorial about writing |
193 * command-line apps](https://www.dartlang.org/docs/tutorials/cmdline/). | 193 * command-line apps](https://www.dartlang.org/docs/tutorials/cmdline/). |
194 */ | 194 */ |
195 library dart.io; | 195 library dart.io; |
196 | 196 |
197 import 'dart:async'; | 197 import 'dart:async'; |
198 import 'dart:_internal' hide Symbol; | 198 import 'dart:_internal' hide Symbol; |
199 import 'dart:collection' show HashMap, | 199 import 'dart:collection' |
200 HashSet, | 200 show |
201 Queue, | 201 HashMap, |
202 ListQueue, | 202 HashSet, |
203 LinkedList, | 203 Queue, |
204 LinkedListEntry, | 204 ListQueue, |
205 UnmodifiableMapView; | 205 LinkedList, |
| 206 LinkedListEntry, |
| 207 UnmodifiableMapView; |
206 import 'dart:convert'; | 208 import 'dart:convert'; |
207 import 'dart:developer' hide log; | 209 import 'dart:developer' hide log; |
208 import 'dart:isolate'; | 210 import 'dart:isolate'; |
209 import 'dart:math'; | 211 import 'dart:math'; |
210 import 'dart:typed_data'; | 212 import 'dart:typed_data'; |
211 import 'dart:nativewrappers'; | 213 import 'dart:nativewrappers'; |
212 | 214 |
213 part 'bytes_builder.dart'; | 215 part 'bytes_builder.dart'; |
214 part 'common.dart'; | 216 part 'common.dart'; |
215 part 'crypto.dart'; | 217 part 'crypto.dart'; |
(...skipping 19 matching lines...) Expand all Loading... |
235 part 'process.dart'; | 237 part 'process.dart'; |
236 part 'secure_server_socket.dart'; | 238 part 'secure_server_socket.dart'; |
237 part 'secure_socket.dart'; | 239 part 'secure_socket.dart'; |
238 part 'security_context.dart'; | 240 part 'security_context.dart'; |
239 part 'service_object.dart'; | 241 part 'service_object.dart'; |
240 part 'socket.dart'; | 242 part 'socket.dart'; |
241 part 'stdio.dart'; | 243 part 'stdio.dart'; |
242 part 'string_transformer.dart'; | 244 part 'string_transformer.dart'; |
243 part 'websocket.dart'; | 245 part 'websocket.dart'; |
244 part 'websocket_impl.dart'; | 246 part 'websocket_impl.dart'; |
OLD | NEW |