app_inspect_http 0.2.2
app_inspect_http: ^0.2.2 copied to clipboard
Captures package:http requests for the AppInspect in-app network inspector.
app_inspect_http #
Captures package:http requests for AppInspect, the network inspector QC can use on their own.
final client = AppInspectHttpClient(); // wraps http.Client()
final client = AppInspectHttpClient(myClient); // wraps your own client
- The response body is copied as it streams to your code, up to
AppInspectConfig.maxBodyChars, so large downloads aren't held in memory twice. - Failures get plain words, such as
No connectionandTimeout, and are rethrown unchanged. - Multipart uploads are described by field, file name and size.
- In builds without AppInspect, calls go straight to the inner client.
See the AppInspect README for setup.