IStandardHttpClientOptions
NexusLabs.Needlr.Generators¶
IStandardHttpClientOptions Interface¶
Convenience aggregate interface that composes all v1 capability interfaces for a
named HttpClient: the INamedHttpClientOptions marker plus
IHttpClientTimeout, IHttpClientUserAgent,
IHttpClientBaseAddress, and IHttpClientDefaultHeaders.
public interface IStandardHttpClientOptions : NexusLabs.Needlr.Generators.INamedHttpClientOptions, NexusLabs.Needlr.Generators.IHttpClientTimeout, NexusLabs.Needlr.Generators.IHttpClientUserAgent, NexusLabs.Needlr.Generators.IHttpClientBaseAddress, NexusLabs.Needlr.Generators.IHttpClientDefaultHeaders
Implements INamedHttpClientOptions, IHttpClientTimeout, IHttpClientUserAgent, IHttpClientBaseAddress, IHttpClientDefaultHeaders
Remarks¶
Implementing this single interface is equivalent to implementing each of the capability interfaces individually — the generator emits exactly the same wiring in both cases. Consumers who only need a subset of capabilities can implement just the specific interfaces they care about.
New capability interfaces added in future versions of Needlr (resilience,
handler chains, handler lifetime, custom delegating handlers, etc.) will NOT be
added to this aggregate; they will ship as standalone interfaces so existing
consumers of IStandardHttpClientOptions continue to compile unchanged.