Method AddRedbRouteHttpHosting(IServiceCollection, Action<HttpHostingOptions>?)

Assembly: redb.Route.Http.Hosting.dll

Registers the shared host and applies configure to its
. Safe to call more than once: every call contributes its
configuration, the manager is still created once, and the options are read when the manager
is first resolved. Connectors register the host with no configuration; the process that
owns the deployment (a worker, a test fixture) is the one that adds trusted proxies.
Example: services.AddRedbRouteHttpHosting(o => o.TrustedProxies.Add("10.0.0.5"));

public static IServiceCollection AddRedbRouteHttpHosting(this IServiceCollection services, Action<HttpHostingOptions>? configure)