Skip to content

v3.1.x – Alt<Response> functionality

Compare
Choose a tag to compare
@haf haf released this 22 Aug 19:12
· 142 commits to master since this release

This release brings with it Alt<Response> and <Alt<Choice<Response, exn>> functionality. This means that you cancel a web request, just by not committing to the Ack. However, you'll always send the request whilst constructing the Alt. Thanks for @polytypic and @neoeinstein for assistance with this release!

This release marks v3 stable and moves further bugfix development onto the releases/v3.x branch. Please PR towards that branch if you have bugfixes. Otherwise PR towards master.

v4 will include similar Alt<...> support but with more granular error cases as well as granular cancelling of both request, downloading of response headers and downloading of response body.

Maybe we'll make HTTP2 come true for v4, maybe we'll get HTTP pipelining. We'll be getting back structural currying (wrapping a module in an object instance to avoid having to pass config around) in order to make it easier to consume the library for newbies.

Hopefully we'll also get some proper HTTP response parsers for v4. =) Keep the PRs coming!

With this release you may abandon the Http.fs-prerelease nuget, as we're now back to the offical nuget name.

/Henrik