Dela via


OnRejectedContext Class

Definition

Holds state needed for the OnRejected callback in the RateLimitingMiddleware.

public sealed class OnRejectedContext
type OnRejectedContext = class
Public NotInheritable Class OnRejectedContext
Inheritance
OnRejectedContext

Constructors

OnRejectedContext()

Properties

HttpContext

Gets or sets the HttpContext that the OnRejected callback will have access to

Lease

Gets or sets the failed RateLimitLease that the OnRejected callback will have access to

Applies to