Added Travis CI configurations and updated pubspec.yaml to require minimum of SDK version 1.24.1.0-dev to be installed.

BUG=
R=zra@google.com

Review-Url: https://codereview.chromium.org/2837913002 .
3 files changed
tree: db9246029dd89e919fcc75ac82541b3fec342737
  1. lib/
  2. test/
  3. .analysis_options
  4. .gitignore
  5. .travis.yml
  6. codereview.settings
  7. LICENSE
  8. pubspec.yaml
  9. README.md
README.md

Dart Synchronous HTTP Client

Build Status

Important Note: This package requires the RawSynchronousSocket class to work, which should become available in version 1.24 of the Dart SDK. If you really want to use this package now, you'll need to use the 1.24-dev SDK.

A simple Dart HTTP client implemented using RawSynchronousSockets to allow for synchronous HTTP requests.

Warning: This library should probably only be used to connect to HTTP servers that are hosted on ‘localhost’. The operations in this library will block the calling thread to wait for a response from the HTTP server. The thread can process no other events while waiting for the server to respond. As such, this synchronous HTTP client library is not suitable for applications that require high performance. Instead, such applications should use libraries built on asynchronous I/O, including dart:io and package:http, for the best performance.