dev_buddy_http 0.2.0
dev_buddy_http: ^0.2.0 copied to clipboard
http package adapter for DevBuddy. Wraps http.Client to capture request timing and status codes for the DevBuddy diagnostics overlay.
Changelog #
0.2.0 #
Changed #
- Depends on
dev_buddy_engineinstead ofdev_buddy(pure Dart, no Flutter dependency) - Added
maxCaptureBytesthreshold (10MB default) — large responses pass through without buffering - Streaming-safe: responses above threshold are not read into memory
- Fixed
contentLengthaccuracy in re-wrapped StreamedResponse
0.1.0 #
Added #
DevBuddyHttpClientwrapper for thehttppackage- Automatic request timing measurement
- Response size capture from streamed body
- Error capture with exception message forwarding
- Transparent delegation to inner
http.Client - Support for all HTTP methods (GET, POST, PUT, DELETE, PATCH, HEAD)