Fluent URL builder and testable HTTP client for .NET
Full Changelog: https://github.com/tmenier/Flurl/compare/Flurl.Http.4.0.0-pre5...Flurl.Http.4.0.0-pre6
SocketsHttpHandler
on supported platforms (#769)Full Changelog: https://github.com/tmenier/Flurl/compare/Flurl.4.0.0-pre4...Flurl.Http.4.0.0-pre5
CookieJar
(#758)Settings.HttpVersion
(#639)ConfigureRequest
renamed to WithSettings
(#764)IHttpClientFactory
(#736)AllowRealHttp
now reverts to original HttpClient, eliminating certain quirks (#683)Full Changelog: https://github.com/tmenier/Flurl/compare/Flurl.3.0.7...Flurl.Http.4.0.0-pre4
AppendQueryParams
method/overloads (#688), thx @Marusyk!SetQueryParams
with collection, duplicate keys should append not overwrite (#370)Full Changelog: https://github.com/tmenier/Flurl/compare/Flurl.3.0.7...Flurl.4.0.0-pre4
ShouldHaveCalled
false negative with URL ending with ?
(#721)?
or #
if specified in original string (#734)GetStreamAsync
to unbuffered behavior (#630, breaking)WithClient
extension methods (#590, breaking)ConnectionLeaseTimeout
setting (#703, breaking)CancellationToken
to last arg everywhere that it isn't (#702, breaking)dynamic
-returning JSON methods (#699)*WARNING: Your code may fail in subtle ways after upgrading if it depends on things like serialization attributes or global settings from the Newtonsoft library. To continue to use Newtonsoft with Flurl.Http 4.0 and later, add and register this Newtonsoft serializer in your code.
RespondWith
(#606)