Skip to content

0.7.0

Compare
Choose a tag to compare
@ghuntley ghuntley released this 10 Nov 11:24

Fusillade: An opinionated HTTP library for Mobile Development

Fusillade helps you to write more efficient code in mobile and desktop applications written in C#. Its design goals and feature set are inspired by Volley as well as Picasso.

What even does this do for me?

Fusillade is a set of HttpMessageHandlers (i.e. "drivers" for HttpClient) that make your mobile applications more efficient and responsive:

  • Auto-deduplication of relevant requests - if every instance of your TweetView class requests the same avatar image, Fusillade will only do one request and give the result to every instance. All GET, HEAD, and OPTIONS requests are deduplicated.
  • Request Limiting - Requests are always dispatched 4 at a time (the Volley default) - issue lots of requests without overwhelming the network connection.
  • Request Prioritization - background requests should run at a lower priority than requests initiated by the user, but actually implementing this is quite difficult. With a few changes to your app, you can hint to Fusillade which requests should skip to the front of the queue.
  • Speculative requests - On page load, many apps will try to speculatively cache data (i.e. try to pre-download data that the user might click n). Marking requests as speculative will allow requests until a certain data limit is reached, then cancel future requests (i.e. "Keep downloading data in the background until we've got 5MB of cached data")

As part of this release we had 4 issues closed.

Feature

  • #25 Only de-duplicate relevant HTTP verbs.

Bug

  • #15 Fix for bug that caused failed requests being cached indefinitely.

Improvement

  • #12 Update JSON.NET version

Documentation

  • #23 Added github issue/pull-request templates, CoC, contributing guidelines

Where to get it

You can download this release from nuget.org