Table of Contents

Class ApplicationBuilderExtensions

Namespace
Cuemon.Extensions.AspNetCore.Http.Throttling
Assembly
Cuemon.Extensions.AspNetCore.dll

Extension methods for the Microsoft.AspNetCore.Builder.IApplicationBuilder interface.

public static class ApplicationBuilderExtensions
Inheritance
Object
ApplicationBuilderExtensions

Methods

UseThrottlingSentinel(IApplicationBuilder, Action<ThrottlingSentinelOptions>)

Adds a HTTP requests rate limiting / throttling guard to the Microsoft.AspNetCore.Builder.IApplicationBuilder request execution pipeline.

public static IApplicationBuilder UseThrottlingSentinel(this IApplicationBuilder builder, Action<ThrottlingSentinelOptions> setup = null)

Parameters

builder IApplicationBuilder

The type that provides the mechanisms to configure an application’s request pipeline.

setup Action<ThrottlingSentinelOptions>

The ThrottlingSentinelOptions middleware which may be configured.

Returns

IApplicationBuilder

A reference to builder after the operation has completed.