https://github.com/instabug/instabug-dart-io-http-client
handles flutter dart:io http package interceptor logic
https://github.com/instabug/instabug-dart-io-http-client
Last synced: 6 months ago
JSON representation
handles flutter dart:io http package interceptor logic
- Host: GitHub
- URL: https://github.com/instabug/instabug-dart-io-http-client
- Owner: Instabug
- License: mit
- Created: 2022-07-17T15:11:15.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2022-07-26T03:48:36.000Z (about 4 years ago)
- Last Synced: 2025-05-05T19:25:39.699Z (over 1 year ago)
- Language: Dart
- Size: 23.4 KB
- Stars: 2
- Watchers: 9
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
An add-on package to [`instabug_flutter`](https://pub.dev/packages/instabug_flutter).
This package intercepts any requests performed using the dart:io package `HttpClient`
and attaches them to the report that will be sent to Instabug dashboard.
## Usage
To enable network logging, use the custom Instabug client:
```dart
final client = InstabugCustomHttpClient();
```
and continue to use the package normally to make your network requests:
```dart
final request = await client.getUrl(Uri.parse(URL));
final response = await request.close();
```