Class HostConnectionLimits

Namespace: redb.Route.Http
Assembly: redb.Route.Http.Hosting.dll

Coarse host-wide backstop: Kestrel's own connection ceilings, applied to every listener this
process opens. Kestrel's defaults are unlimited; these protect the whole port. The fine-grained
tool is the per-route admission limit () — this is the
fuse, not the thermostat.

public sealed class HostConnectionLimits

Inheritance

Object→HostConnectionLimits

Properties

MaxConcurrentConnections

Maximum concurrent connections per listener. Null (default) = Kestrel default (unlimited).

public long? MaxConcurrentConnections { get; set; }

MaxConcurrentUpgradedConnections

Maximum concurrent upgraded connections (WebSockets) per listener.

public long? MaxConcurrentUpgradedConnections { get; set; }