request_scope_dio 0.1.0
request_scope_dio: ^0.1.0 copied to clipboard
Dio v5 interceptor for request_scope. Streams HTTP request, response and error events to the request_scope DevTools extension in real time.
Changelog #
All notable changes to this project are documented here. The format follows Keep a Changelog and the project adheres to Semantic Versioning.
[Unreleased] #
Fixed #
- ID generator no longer overflows on Flutter Web.
1 << 32evaluates to0on dart2js/DDC, which causedRandom.nextInt(0)to throw and silently skip every request capture on the web.
0.1.0 - 2026-05-18 #
Added #
- Initial release.
RequestScopeDioInterceptorcapturing HTTP method, URL, headers, query parameters, request and response bodies, status code, duration, timestamps, errors and stack traces.- Form data is serialised to a transport-friendly representation so it renders cleanly in the DevTools extension.
- Errors that include a
Responsealso record the response payload so users can inspect the failing server output.