charlatan 0.4.0 charlatan: ^0.4.0 copied to clipboard
A library for configuring and providing fake HTTP responses to your dio HTTP client.
0.4.0 #
- Add
charlatanResponse
helper to concisely createCharlatanResponseBuilder
values - Remove
statusCode
fromwhen*
methods - Change type of
CharlatanResponseBuilder
fromFutureOr<Object?> Function(CharlatanHttpRequest request, { int statusCode = 200 })
toFutureOr<CharlatanHttpResponse> Function(CharlatanHttpRequest request)
0.3.1 #
- Export
CharlatanHttpRequest
andCharlatanRequestMatcher
0.3.0 #
- Add
whenMatch
for more complex matching scenarios - Remove
CharlatanHttpRequest#pathParameters
0.2.0 #
- Upgrade
dio
to5.0.0
0.1.0 #
- Upgrade
dio
andtest
- Upgrade to dart 2.15.0
0.0.1 #
- Initial version.