http_middleware_library 0.13.3 http_middleware_library: ^0.13.3 copied to clipboard
A middleware library for Dart http library forked from TEDConsulting/http_middleware.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add http_middleware_library
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
http_middleware_library: ^0.13.3
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:http_middleware_library/http_client_with_middleware.dart';
import 'package:http_middleware_library/http_methods.dart';
import 'package:http_middleware_library/http_middleware.dart';
import 'package:http_middleware_library/http_with_middleware.dart';
import 'package:http_middleware_library/middleware_contract.dart';
import 'package:http_middleware_library/models/request_data.dart';
import 'package:http_middleware_library/models/response_data.dart';