tmenier / Flurl

Fluent URL builder and testable HTTP client for .NET
https://flurl.dev
MIT License
4.23k stars 387 forks source link

Split up IHttpSettingsContainer #773

Closed tmenier closed 11 months ago

tmenier commented 1 year ago

This shouldn't affect most people but it's technically breaking since it affects a public interface.

IHttpSettingsContainer is an interface for things that have a Settings property (instance of FlurlHttpSettings) and a Headers property. It basically exists for one reason: so that a whole bunch of fluent extension methods can be defined once and apply to both IFlurlClient and IFlurlRequest. A few observations:

So the changes are: