e_http_inspector 1.1.0 copy "e_http_inspector: ^1.1.0" to clipboard
e_http_inspector: ^1.1.0 copied to clipboard

A Flutter package that inspects http call requests, responses which made by [dio package](https://pub.dev/packages/dio). This package show notifications on each call and UI screen.

e_http_inspector #

A Flutter package that inspects http call requests, responses which made by dio package. This package show notifications on each call and UI screen.

Features #

  • Show notification on each http call
  • Show history http call list, and call detail in UI screen
  • Copy http call detail to clipboard
Under construction:
  • Export http call to postman format or open api

Getting Started #

This package works with dio package

Usage #

Add dependencies #

dependencies:
  e_http_inspector: ^1.1.0

Config and use in application #

  • Init EHttpInspector
void main() {
  EHttpInspector.init(_dio, _navigatorKey, "EHttpInspector", "EHttpInspector",
      "EHttpInspector channel");
  runApp(const MyApp());
}

or init inspector and notification

var _dio = Dio();
EHttpInspector.initInterceptor(_dio);
...

await EHttpInspector.initNotification(_navigatorKey, "Your channel key", "Your channel name", "You channel description");
  • Make sure _navigatorKey which is used in root MaterialApp.navigatorKey
MaterialApp(navigatorKey: _navigatorKey);
  • For other push notification setup please follow this plugin

Issues and feedback #

Create issues and add appropriate label on Github issues or into our mailing list For more detail see CONTRIBUTING

Contributor #

License #

MIT

0
likes
110
pub points
0%
popularity

Publisher

unverified uploader

A Flutter package that inspects http call requests, responses which made by [dio package](https://pub.dev/packages/dio). This package show notifications on each call and UI screen.

Repository (GitHub)
View/report issues
Contributing

Documentation

API reference

License

MIT (LICENSE)

Dependencies

chips_choice_null_safety, dio, eventstateprocessor, flutter, flutter_local_notifications, hive, hive_flutter, intl, path_provider, pull_to_refresh

More

Packages that depend on e_http_inspector