https://github.com/instabug/instabug-dart-http-adapter
An adapter for Dart's http package for use with Instabug.
https://github.com/instabug/instabug-dart-http-adapter
Last synced: about 2 months ago
JSON representation
An adapter for Dart's http package for use with Instabug.
- Host: GitHub
- URL: https://github.com/instabug/instabug-dart-http-adapter
- Owner: Instabug
- License: mit
- Created: 2019-07-03T14:20:15.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2025-04-21T13:47:20.000Z (2 months ago)
- Last Synced: 2025-04-21T14:52:01.486Z (2 months ago)
- Language: Dart
- Size: 124 KB
- Stars: 1
- Watchers: 23
- Forks: 10
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# instabug_http_client
A dart package to support Instabug network logging for the external dart [http](https://pub.dev/packages/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`:
```yaml
dependencies:
instabug_http_client:
```2. Install the package by running the following command.
```bash
flutter packages get
```### Usage
To enable logging, use the custom http client provided by Instabug:
```dart
final client = InstabugHttpClient();
```Then proceed to use the package normally:
```dart
final response = await client.get(Uri.parse(URL));
```