Search packages, repositories and app categories

Package detailsv2.7.1

instabug_http_client

This package is an add on to instabug_flutter. It intercepts any requests performed with http Package and sends them to the report that will be sent to the dashboard.

AndroidiOS
30-day downloads
494
Likes
1
Pub points
160

Install package

flutter pub add instabug_http_client

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

The instabug_http_client package enhances the instabug_flutter SDK by automatically intercepting HTTP requests made through the http package. It captures request and response details, including headers, URLs, and status codes, and includes them in crash or feedback reports sent to the Instabug dashboard. This helps developers debug network-related issues more efficiently by providing full context of failed or problematic HTTP interactions directly within their reports. The integration is seamless and requires minimal setup.

Use cases

  • Debugging failed API calls
  • Tracking network request behavior
  • Enhancing crash reports with HTTP context
  • Monitoring performance of HTTP endpoints
  • Automatically logging network errors

Key features

  • Intercepts http package requests
  • Attaches HTTP details to reports
  • Seamless integration with instabug_flutter
  • Automatic error logging for network calls
  • Supports both Android and iOS

Suitable for

  • Flutter apps using instabug_flutter
  • Teams focused on debugging network issues
  • Apps requiring detailed HTTP logging
  • Developers using the http package extensively
  • Projects needing enhanced crash reporting

Considerations

  • Requires instabug_flutter to be set up
  • May increase report size due to HTTP data
  • Not compatible with non-http package requests
  • Limited to HTTP client interception only
  • Dependent on Instabug backend services

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

instabug_http_client

A dart package to support Instabug network logging for the external dart http package.

Getting Started

You can choose to attach all your network requests data to the Instabug reports being sent to the dashboard. See the details below on how to enable the feature for the http package.

Installation
  1. Add the dependency to your project pubspec.yml:
dependencies:
  instabug_http_client:
  1. Install the package by running the following command.
flutter packages get
Usage

To enable logging, use the custom http client provided by Instabug:

final client = InstabugHttpClient();

Then proceed to use the package normally:

final response = await client.get(Uri.parse(URL));

Categories

Dependencies

Dependency list 3 items

Source repository

Projects using this package

No data available yet.