Method AddRedbRouteHttp(IServiceCollection, Action<HttpCorsOptions>?)
Registers the HTTP and HTTPS components with global CORS configuration.
Example: services.AddRedbRouteHttp(cors => { cors.Enabled = true; cors.Origins = "https://example.com"; });
public static IServiceCollection AddRedbRouteHttp(this IServiceCollection services, Action<HttpCorsOptions>? configureCors)