Class ServiceCollectionExtensions
Extension methods for registering the HTTP component with dependency injection.
public static class ServiceCollectionExtensions
Inheritance
Methods
AddRedbRouteHttp(IServiceCollection, Action<HttpCorsOptions>?)
Registers the HTTP and HTTPS components with global CORS configuration.
public static IServiceCollection AddRedbRouteHttp(this IServiceCollection services, Action<HttpCorsOptions>? configureCors)
AddRedbRouteHttp(IServiceCollection)
Registers the HTTP and HTTPS components with the route context.
public static IServiceCollection AddRedbRouteHttp(this IServiceCollection services)