Git Product home page Git Product logo

yukihiratype2 / dio-request-inspector Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bayunugroho2022/dio-request-inspector

0.0 0.0 0.0 886 KB

Debug and Sharing your HTTP Request/Response with UI Inspector.

Home Page: https://pub.dev/packages/dio_request_inspector

License: BSD 3-Clause "New" or "Revised" License

Ruby 2.36% C++ 19.29% C 1.25% Objective-C 0.03% Kotlin 0.12% Dart 57.53% Swift 1.32% HTML 1.60% CMake 16.50%

dio-request-inspector's Introduction

pub package License: BSD 3-Clause pub package

Dio Requests Inspector Package

"Dio Request Inspector" is a handy open-source tool for monitoring and analyzing HTTP requests in Flutter using the Dio package. It provides real-time monitoring, detailed request information, and filtering capabilities, making it easy to track and troubleshoot server interactions in your Flutter projects.



Features

✔️ Real-time monitoring of HTTP requests in your Flutter application.

✔️ Detailed information about each request, including URL, request method, headers, and payload data.

✔️ Filter and search functionality to quickly find relevant requests based on criteria such as URL, method, or status code.

✔️ Easy integration with Flutter projects using the Dio package.

✔️ Intuitive and user-friendly UI for seamless request exploration and analysis.

Get started

Add dependency

You can use the command to add dio_request_inspector as a dependency with the latest stable version:

$ dart pub add dio_request_inspector

Or you can manually add dio_request_inspector into the dependencies section in your pubspec.yaml:

dependencies:
  dio_request_inspector: ^replace-with-latest-version

The latest version is: pub package

Super simple to use

  1. Create DioRequestInspector instance
DioRequestInspector dioRequestInspector = DioRequestInspector(isDebugMode: true);
  1. Add DioRequestInterceptor to your Dio instance
_dio.interceptors.add(dioRequestInspector.getDioRequestInterceptor());
  1. Wrap your MaterialApp with DioRequestInspectorMain
DioRequestInspectorMain(inspector: dioRequestInspector, child: MyApp())
  1. add NavigatorKey to your MaterialApp for direct to Inspector UI
navigatorKey: dioRequestInspector.navigatorKey,

Contributing

If you would like to contribute to this project, please feel free to submit a pull request.

dio-request-inspector's People

Contributors

bayunugroho2022 avatar yukihiratype2 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.