Class HttpHostingOptions
Process-wide settings of the shared Kestrel host. One instance serves every listener the
opens, because the things configured here (which proxies
to trust) describe the deployment the process runs in, not any single route.
public sealed class HttpHostingOptions
Inheritance
Properties
Limits
Kestrel connection ceilings applied to every listener the manager opens.
public HostConnectionLimits Limits { get; }
ResolvePrincipal
Identifies the caller of each request on every listener the manager opens. Null (the default)
public Func<HttpContext, Task<ClaimsPrincipal?>>? ResolvePrincipal { get; set; }
Tls
Server-wide TLS material, used by listeners whose endpoint does not carry its own.
public ServerTlsOptions Tls { get; }
TrustedProxies
Reverse proxies allowed to set the client address and scheme. Empty by default.
public TrustedProxyOptions TrustedProxies { get; }