Eigenverft.WebLib.Infrastructure
  • Guides
  • API
Show / Hide Table of Contents
  • Eigenverft.WebLib.Infrastructure.Hosting
    • HttpResponseExtensions
  • Eigenverft.WebLib.Infrastructure.Hosting.Configuration.Values
    • AspNetDataProtectionConfigurationValueCodecs
  • Eigenverft.WebLib.Infrastructure.Hosting.DirectoryLayout
    • WebApplicationBuilderFactory
  • Eigenverft.WebLib.Infrastructure.Hosting.Features
    • HttpContextFeatureExtensions
  • Eigenverft.WebLib.Infrastructure.Hosting.Hsts
    • WebLibHstsExtensions
  • Eigenverft.WebLib.Infrastructure.Hosting.Kestrel
    • ConfigureWebHostBuilderExtensions
  • Eigenverft.WebLib.Infrastructure.Hosting.Middleware.CanonicalHostRedirect
    • CanonicalHostMode
    • CanonicalHostRedirectExtensions
    • CanonicalHostRedirectOptions
  • Eigenverft.WebLib.Infrastructure.Hosting.Middleware.ClientNetwork
    • ClientForwardedIpAddress
    • ClientForwardedIpSource
    • ClientNetworkApplicationBuilderExtensions
    • ClientNetworkMiddleware
    • IClientNetworkFeature
  • Eigenverft.WebLib.Infrastructure.Hosting.Middleware.HealthProbeFaviconAware
    • HealthProbeFaviconAwareExtensions
  • Eigenverft.WebLib.Infrastructure.Hosting.Middleware.Infrastructure
    • ApplicationBuilderMiddlewareExtensions
    • ServiceProviderRegistrationExtensions
  • Eigenverft.WebLib.Infrastructure.Hosting.Pipeline
    • PipelinePartitioningExtensions
  • Eigenverft.WebLib.Infrastructure.Hosting.RateLimiting
    • MissingClientIpBehavior
    • WebLibRequestTrafficShapingOptions
    • WebLibRequestTrafficShapingPerClientOptions
    • WebLibRequestTrafficShapingServerWideOptions
    • WebLibRequestTrafficShapingServiceCollectionExtensions
  • Eigenverft.WebLib.Infrastructure.Hosting.RequestTrafficLogging
    • RequestTrafficLoggingApplicationBuilderExtensions
    • RequestTrafficLoggingFields
    • RequestTrafficLoggingOptions
    • RequestTrafficLoggingServiceCollectionExtensions
    • SensitiveValueMode
  • Eigenverft.WebLib.Infrastructure.Hosting.SelfHttpWarmup
    • SelfHttpWarmupOptions
    • SelfHttpWarmupServiceCollectionExtensions
  • Eigenverft.WebLib.Infrastructure.Hosting.StaticFiles
    • AdditionalMappings
    • StaticFileAdditionalMappings
    • StaticFileApplicationBuilderExtensions
  • Eigenverft.WebLib.Infrastructure.Transformations
    • AspNetDataProtectionStringTransforms

Class WebLibRequestTrafficShapingPerClientOptions

Configures the per-client request-rate token bucket partitioned by normalized client IP address.

Inheritance
object
WebLibRequestTrafficShapingPerClientOptions
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Eigenverft.WebLib.Infrastructure.Hosting.RateLimiting
Assembly: Eigenverft.WebLib.Infrastructure.dll
Syntax
public sealed class WebLibRequestTrafficShapingPerClientOptions

Properties

| Edit this page View Source

BurstSize

Gets or sets the maximum burst capacity for one client-IP partition.

Declaration
public int BurstSize { get; set; }
Property Value
Type Description
int
Remarks

The default of 40 permits short bursts above the sustained request rate.

| Edit this page View Source

Enabled

Gets or sets whether the per-client token bucket participates in the limiter chain.

Declaration
public bool Enabled { get; set; }
Property Value
Type Description
bool
| Edit this page View Source

MissingClientIpBehavior

Gets or sets how requests without a resolved client IP are handled by this per-client layer.

Declaration
public MissingClientIpBehavior MissingClientIpBehavior { get; set; }
Property Value
Type Description
MissingClientIpBehavior
| Edit this page View Source

QueueLimit

Gets or sets the maximum queued request count per client-IP partition.

Declaration
public int QueueLimit { get; set; }
Property Value
Type Description
int
Remarks

Queued requests are processed oldest-first by the native token bucket. The default is 20.

| Edit this page View Source

RequestsPerSecond

Gets or sets the sustained replenishment rate per client-IP partition, in requests per second.

Declaration
public int RequestsPerSecond { get; set; }
Property Value
Type Description
int
  • Edit this page
  • View Source
In this article
Back to top