IHttpClientBaseAddress
NexusLabs.Needlr.Generators¶
IHttpClientBaseAddress Interface¶
Capability interface declaring that a named HttpClient options type
configures System.Net.Http.HttpClient.BaseAddress. When implemented,
the source generator emits client.BaseAddress = options.BaseAddress; into
the generated AddHttpClient callback, guarded by a null check so a
null value leaves the client unchanged.
Derived
↳ IStandardHttpClientOptions
Properties¶
IHttpClientBaseAddress.BaseAddress Property¶
Gets the base address for the generated HttpClient, or null to
leave it unset.