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 LinkedHashSet, |
20 LinkedList, | 20 LinkedList, |
21 LinkedListEntry; | 21 LinkedListEntry; |
22 import 'dart:convert'; | 22 import 'dart:convert'; |
23 import 'dart:isolate'; | 23 import 'dart:isolate'; |
24 import 'dart:json' as JSON; | |
25 import 'dart:math'; | 24 import 'dart:math'; |
26 import 'dart:typed_data'; | 25 import 'dart:typed_data'; |
27 | 26 |
28 part 'bytes_builder.dart'; | 27 part 'bytes_builder.dart'; |
29 part 'common.dart'; | 28 part 'common.dart'; |
30 part 'crypto.dart'; | 29 part 'crypto.dart'; |
31 part 'data_transformer.dart'; | 30 part 'data_transformer.dart'; |
32 part 'directory.dart'; | 31 part 'directory.dart'; |
33 part 'directory_impl.dart'; | 32 part 'directory_impl.dart'; |
34 part 'eventhandler.dart'; | 33 part 'eventhandler.dart'; |
(...skipping 15 matching lines...) Expand all Loading... |
50 part 'platform_impl.dart'; | 49 part 'platform_impl.dart'; |
51 part 'process.dart'; | 50 part 'process.dart'; |
52 part 'socket.dart'; | 51 part 'socket.dart'; |
53 part 'stdio.dart'; | 52 part 'stdio.dart'; |
54 part 'string_transformer.dart'; | 53 part 'string_transformer.dart'; |
55 part 'timer_impl.dart'; | 54 part 'timer_impl.dart'; |
56 part 'secure_socket.dart'; | 55 part 'secure_socket.dart'; |
57 part 'secure_server_socket.dart'; | 56 part 'secure_server_socket.dart'; |
58 part 'websocket.dart'; | 57 part 'websocket.dart'; |
59 part 'websocket_impl.dart'; | 58 part 'websocket_impl.dart'; |
OLD | NEW |