http_middleware_library 0.13.3 copy "http_middleware_library: ^0.13.3" to clipboard
http_middleware_library: ^0.13.3 copied to clipboard

discontinuedreplaced by: http_interceptor

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';
1
likes
70
pub points
0%
popularity

Publisher

unverified uploader

A middleware library for Dart http library forked from TEDConsulting/http_middleware.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

collection, http

More

Packages that depend on http_middleware_library