dz_http 0.14.2-dev
dz_http: ^0.14.2-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_httpWith Flutter:
$ flutter pub add dz_httpThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
dz_http: ^0.14.2-devAlternatively, your editor might support dart pub get or flutter 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';