intercepted_http 0.1.0 copy "intercepted_http: ^0.1.0" to clipboard
intercepted_http: ^0.1.0 copied to clipboard

A composable HTTP interceptor layer for package:http. Add auth headers, token refresh, retry logic, and logging without replacing your HTTP client.

Changelog #

0.1.0 #

  • Initial release.
  • InterceptedHttp — drop-in http.Client wrapper with interceptor support.
  • HttpInterceptor — base class with onRequest, onResponse, onError, shouldRetry.
  • HttpClientException — typed exception for 4xx/5xx responses with JSON message extraction.
  • Configurable timeout, max retries, and inner client.
1
likes
0
points
145
downloads

Publisher

verified publishermatheusvinicius.dev.br

Weekly Downloads

A composable HTTP interceptor layer for package:http. Add auth headers, token refresh, retry logic, and logging without replacing your HTTP client.

Homepage
Repository (GitHub)
View/report issues

Topics

#http #networking #interceptor #middleware

License

unknown (license)

Dependencies

http

More

Packages that depend on intercepted_http