Sdílet prostřednictvím


ConcurrencyLimiterMiddleware Třída

Definice

Upozornění

Concurrency Limiter middleware has been deprecated and will be removed in a future release. Update the app to use concurrency features in rate limiting middleware. For more information, see https://aka.ms/aspnet/rate-limiting

Omezuje počet souběžných požadavků povolených v aplikaci.

public ref class ConcurrencyLimiterMiddleware
public class ConcurrencyLimiterMiddleware
[System.Obsolete("Concurrency Limiter middleware has been deprecated and will be removed in a future release. Update the app to use concurrency features in rate limiting middleware. For more information, see https://aka.ms/aspnet/rate-limiting")]
public class ConcurrencyLimiterMiddleware
type ConcurrencyLimiterMiddleware = class
[<System.Obsolete("Concurrency Limiter middleware has been deprecated and will be removed in a future release. Update the app to use concurrency features in rate limiting middleware. For more information, see https://aka.ms/aspnet/rate-limiting")>]
type ConcurrencyLimiterMiddleware = class
Public Class ConcurrencyLimiterMiddleware
Dědičnost
ConcurrencyLimiterMiddleware
Atributy

Konstruktory

ConcurrencyLimiterMiddleware(RequestDelegate, ILoggerFactory, IQueuePolicy, IOptions<ConcurrencyLimiterOptions>)
Zastaralé.

Vytvoří nový objekt ConcurrencyLimiterMiddleware.

Metody

Invoke(HttpContext)
Zastaralé.

Vyvolá logiku middlewaru.

Platí pro