DurableHttpServiceCollectionExtensions
class
Namespace: Microsoft.Extensions.DependencyInjection
Registers the services which serve durable tasks as HTTP operations.
public static class DurableHttpServiceCollectionExtensionsMethods
AddDurableHttp(IServiceCollection, Action<DurableHttpOptions>)Adds the services which the durable operation endpoints use, whichDurableHttpEndpointRouteBuilderExtensionsandNexusEndpointRouteBuilderExtensionsmap.AddDurableHttpCallbacks(IServiceCollection, Action<DurableCallbackOptions>)Adds the services with which silos deliver callbacks, which requests register with anOperation-Callbackheader or a Nexuscallback, and returns the builder of theSystem.Net.Http.HttpClientwhich delivers them.AddDurableHttpClient(IServiceCollection, string, Action<DurableHttpClientOptions>)Adds anIDurableHttpClient, which durable tasks inject as a keyed service namedname, and returns the builder of the namedSystem.Net.Http.HttpClientwhich it sends requests with.
