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: about 2 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 (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2022-07-26T03:48:36.000Z (almost 3 years ago)
- Last Synced: 2024-03-27T13:27:40.780Z (over 1 year ago)
- Language: Dart
- Size: 23.4 KB
- Stars: 2
- Watchers: 5
- 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();
```