request_scope_dio 0.1.0 copy "request_scope_dio: ^0.1.0" to clipboard
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 << 32 evaluates to 0 on dart2js/DDC, which caused Random.nextInt(0) to throw and silently skip every request capture on the web.

0.1.0 - 2026-05-18 #

Added #

  • Initial release.
  • RequestScopeDioInterceptor capturing 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 Response also record the response payload so users can inspect the failing server output.
0
likes
150
points
82
downloads

Documentation

API reference

Publisher

verified publisheridonuntius.com

Weekly Downloads

Dio v5 interceptor for request_scope. Streams HTTP request, response and error events to the request_scope DevTools extension in real time.

Repository (GitHub)
View/report issues

Topics

#devtools #devtools-extension #dio #http #interceptor

License

MIT (license)

Dependencies

dio, flutter, request_scope

More

Packages that depend on request_scope_dio