Code cleanup (mostly io lib and some http lib).

- Unused function removed,
- Make properties always appear before methods,
- Use dart idioms where possible.

BUG=
R=ajohnsen@google.com

Review URL: https://codereview.chromium.org//124753002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart/pkg/http@31602 260f80e4-7a28-3924-810f-c04153c831b5
3 files changed
tree: 053db6dc25bd58481b3f43bf5956efdb6475d277
  1. lib/
  2. test/
  3. pubspec.yaml
  4. README.md
README.md

http

A composable, Future-based library for making HTTP requests.

This package contains a set of high-level functions and classes that make it easy to consume HTTP resources.

NOTE: This package currently only works for server-side or command-line Dart applications. In other words, if the app imports dart:io, it can use this package.

Using

Please see the API docs for explanations and examples.

Filing issues

Please file issues for the http package at http://dartbug.com/new.