http.dart 782 Bytes
Newer Older
1 2 3 4
// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

5
/// A [Future]-based library for making HTTP requests.
6
///
7
/// To use, import `package:flutter/http.dart`.
8
///
9 10
/// This library is based on Dart's `http` package, but differs in that it does
/// not have a dependency on mirrors.
11
///
12 13 14 15
// TODO(chinmaygarde): The contents of `lib/src/http` will become redundant
// once https://github.com/dart-lang/http/issues/1 is fixed (removes the use
// of mirrors). Once that issue is addressed, we should get rid this directory
// and use `dart-lang/http` directly.
16 17 18 19
library http;

export 'src/http/http.dart';
export 'src/http/response.dart';
20
export 'src/http/mock_client.dart';