charlatan 0.4.0 copy "charlatan: ^0.4.0" to clipboard
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 create CharlatanResponseBuilder values
  • Remove statusCode from when* methods
  • Change type of CharlatanResponseBuilder from FutureOr<Object?> Function(CharlatanHttpRequest request, { int statusCode = 200 }) to FutureOr<CharlatanHttpResponse> Function(CharlatanHttpRequest request)

0.3.1 #

  • Export CharlatanHttpRequest and CharlatanRequestMatcher

0.3.0 #

  • Add whenMatch for more complex matching scenarios
  • Remove CharlatanHttpRequest#pathParameters

0.2.0 #

  • Upgrade dio to 5.0.0

0.1.0 #

  • Upgrade dio and test
  • Upgrade to dart 2.15.0

0.0.1 #

  • Initial version.
14
likes
140
points
4.46k
downloads

Publisher

verified publisherbetterment.dev

Weekly Downloads

A library for configuring and providing fake HTTP responses to your dio HTTP client.

Repository (GitHub)
Contributing

Documentation

API reference

License

MIT (license)

Dependencies

collection, dio, meta, uri

More

Packages that depend on charlatan