dz_http 0.14.1-dev dz_http: ^0.14.1-dev copied to clipboard
A composable, multi-platform, Future-based API for HTTP requests.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add dz_http
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
dz_http: ^0.14.1-dev
Alternatively, your editor might support dart pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:dz_http/browser_client.dart';
import 'package:dz_http/http.dart';
import 'package:dz_http/io_client.dart';
import 'package:dz_http/testing.dart';