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

HTTP Cassette integration for recording and replaying requests made with dio.

Changelog #

0.1.0 #

  • Added CassetteHttpClientAdapter and installHttpCassette for connecting a Dio instance to an HTTP Cassette engine.
  • Added recording and network-free replay of bounded request and response bodies through the core interception contract.
  • Added canonical translation of dio requests, completed responses, redirects, and portable transport failures.
  • Added cancellation handling that prevents caller cancellation from becoming a recorded transport outcome.
  • Added structured cassette-failure inspection through DioException extensions.
  • Added inactive and explicitly disabled pass-through behaviour without changing the wrapped transport request.
  • Added pass-through for new requests while recording close waits for already admitted requests to settle.
  • Returned complete live responses when later cassette processing fails, while leaving recording close to report and discard the failed session.
  • Added cassette portability with the official http adapter for equivalent requests, responses, and transport failures.
0
likes
160
points
30
downloads

Documentation

API reference

Publisher

verified publisherebenezerundie.com

Weekly Downloads

HTTP Cassette integration for recording and replaying requests made with dio.

Repository (GitHub)
View/report issues

Topics

#dio #http #testing

License

BSD-3-Clause (license)

Dependencies

dio, http_cassette

More

Packages that depend on http_cassette_dio