IRateLimiterPolicy<TPartitionKey> Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
An interface which is used to represent a RateLimiter policy.
public interface IRateLimiterPolicy<TPartitionKey>
type IRateLimiterPolicy<'PartitionKey> = interface
Public Interface IRateLimiterPolicy(Of TPartitionKey)
Type Parameters
- TPartitionKey
Properties
OnRejected |
Gets the Func<T1,T2,TResult> that handles requests rejected by this middleware. |
Methods
GetPartition(HttpContext) |
Gets the RateLimitPartition<TKey> that applies to the given HttpContext. |