AddDurableHttpCallbacks(IServiceCollection, Action<DurableCallbackOptions>)
staticextension
public static IHttpClientBuilder AddDurableHttpCallbacks(this IServiceCollection services, Action<DurableCallbackOptions>? configureOptions = null) Adds the services with which silos deliver callbacks, which requests register with an
Operation-Callback header or a Nexus callback, and returns the builder of the System.Net.Http.HttpClient which delivers them. Parameters
servicesIServiceCollection- The silo's service collection.
configureOptionsAction<DurableCallbackOptions>- Configures delivery, or
nullfor the defaults.
Returns
The builder of the client which delivers callbacks, which configures its handlers, such as a proxy. The client doesn't follow redirects, which retries as undelivered, and connects only to the addresses which
DurableCallbackOptions accepts. 