| OLD | NEW |
| 1 Dart Synchronous HTTP Client | 1 Dart Synchronous HTTP Client |
| 2 ============================ | 2 ============================ |
| 3 | 3 |
| 4 [](h
ttps://travis-ci.org/dart-lang/sync_http/) |
| 5 |
| 4 **Important Note:** This package requires the RawSynchronousSocket class to | 6 **Important Note:** This package requires the RawSynchronousSocket class to |
| 5 work, which should become available in version 1.24 of the Dart SDK. If you | 7 work, which should become available in version 1.24 of the Dart SDK. If you |
| 6 really want to use this package now, you'll have to build the Dart VM from | 8 really want to use this package now, you'll need to use the 1.24-dev SDK. |
| 7 the most up-to-date source hosted in dart-lang/sdk. | |
| 8 | 9 |
| 9 A simple Dart HTTP client implemented using RawSynchronousSockets to allow for | 10 A simple Dart HTTP client implemented using RawSynchronousSockets to allow for |
| 10 synchronous HTTP requests. | 11 synchronous HTTP requests. |
| 11 | 12 |
| 12 Warning: This library should probably only be used to connect to HTTP servers | 13 Warning: This library should probably only be used to connect to HTTP servers |
| 13 that are hosted on 'localhost'. The operations in this library will block the | 14 that are hosted on 'localhost'. The operations in this library will block the |
| 14 calling thread to wait for a response from the HTTP server. The thread can | 15 calling thread to wait for a response from the HTTP server. The thread can |
| 15 process no other events while waiting for the server to respond. As such, this | 16 process no other events while waiting for the server to respond. As such, this |
| 16 synchronous HTTP client library is not suitable for applications that require | 17 synchronous HTTP client library is not suitable for applications that require |
| 17 high performance. Instead, such applications should use libraries built on | 18 high performance. Instead, such applications should use libraries built on |
| 18 asynchronous I/O, including | 19 asynchronous I/O, including |
| 19 [dart:io](https://api.dartlang.org/stable/1.22.1/dart-io/dart-io-library.html) | 20 [dart:io](https://api.dartlang.org/stable/1.22.1/dart-io/dart-io-library.html) |
| 20 and [package:http](https://pub.dartlang.org/packages/http), for the best | 21 and [package:http](https://pub.dartlang.org/packages/http), for the best |
| 21 performance. | 22 performance. |
| OLD | NEW |