http_cassette_dio 0.1.0
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
CassetteHttpClientAdapterandinstallHttpCassettefor connecting aDioinstance 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
diorequests, 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
DioExceptionextensions. - 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
httpadapter for equivalent requests, responses, and transport failures.