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 IO library is used for Dart server applications, | 8 * The IO 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.* |
11 * | 11 * |
12 * This library allows you to work with files, directories, | 12 * This library allows you to work with files, directories, |
13 * sockets, processes, HTTP servers and clients, and more. | 13 * sockets, processes, HTTP servers and clients, and more. |
14 */ | 14 */ |
15 library dart.io; | 15 library dart.io; |
16 | 16 |
17 import 'dart:async'; | 17 import 'dart:async'; |
18 import 'dart:_collection-dev'; | 18 import 'dart:_collection-dev'; |
19 import 'dart:collection' show LinkedHashSet, | 19 import 'dart:collection' show HashMap, |
| 20 HashSet, |
20 LinkedList, | 21 LinkedList, |
21 LinkedListEntry; | 22 LinkedListEntry; |
22 import 'dart:convert'; | 23 import 'dart:convert'; |
23 import 'dart:isolate'; | 24 import 'dart:isolate'; |
24 import 'dart:math'; | 25 import 'dart:math'; |
25 import 'dart:typed_data'; | 26 import 'dart:typed_data'; |
26 | 27 |
27 part 'bytes_builder.dart'; | 28 part 'bytes_builder.dart'; |
28 part 'common.dart'; | 29 part 'common.dart'; |
29 part 'crypto.dart'; | 30 part 'crypto.dart'; |
(...skipping 17 matching lines...) Expand all Loading... |
47 part 'platform_impl.dart'; | 48 part 'platform_impl.dart'; |
48 part 'process.dart'; | 49 part 'process.dart'; |
49 part 'socket.dart'; | 50 part 'socket.dart'; |
50 part 'stdio.dart'; | 51 part 'stdio.dart'; |
51 part 'string_transformer.dart'; | 52 part 'string_transformer.dart'; |
52 part 'timer_impl.dart'; | 53 part 'timer_impl.dart'; |
53 part 'secure_socket.dart'; | 54 part 'secure_socket.dart'; |
54 part 'secure_server_socket.dart'; | 55 part 'secure_server_socket.dart'; |
55 part 'websocket.dart'; | 56 part 'websocket.dart'; |
56 part 'websocket_impl.dart'; | 57 part 'websocket_impl.dart'; |
OLD | NEW |