instabug_dart_io_http_client 1.0.0 instabug_dart_io_http_client: ^1.0.0 copied to clipboard
This package is an add-on to instabug_flutter. It intercepts any requests performed using the dart:io package HttpClient and attaches them to the report that will be sent to the dashboard.
An add-on package to 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:
final client = InstabugCustomHttpClient();
and continue to use the package normally to make your network requests:
final request = await client.getUrl(Uri.parse(URL));
final response = await request.close();