OLD | NEW |
1 TODO: add README | 1 Dart Synchronous HTTP Client |
| 2 ============================ |
| 3 |
| 4 A simple Dart HTTP client implemented using RawSynchronousSockets to allow for |
| 5 synchronous HTTP requests. |
| 6 |
| 7 Warning: This library should probably only be used to connect to HTTP servers |
| 8 that are hosted on 'localhost'. The operations in this library will block the |
| 9 calling thread to wait for a response from the HTTP server. The thread can |
| 10 process no other events while waiting for the server to respond. As such, this |
| 11 synchronous HTTP client library is not suitable for applications that require |
| 12 high performance. Instead, such applications should use libraries built on |
| 13 asynchronous I/O, including |
| 14 [dart:io](https://api.dartlang.org/stable/1.22.1/dart-io/dart-io-library.html) |
| 15 and [package:http](https://pub.dartlang.org/packages/http), for the best |
| 16 performance. |
OLD | NEW |