Table of Contents

Class KestrelConfiguration

Namespace
AdvanceFileUpload.API
Assembly
AdvanceFileUpload.API.dll

Represents the configurable settings for the Kestrel web server.
Includes endpoint definitions, connection limits, HTTPS defaults, and HTTP/2 and HTTP/3 specific configurations.

public class KestrelConfiguration
Inheritance
KestrelConfiguration
Inherited Members

Fields

SectionName

The configuration section name for Kestrel server options.

public const string SectionName = "KestrelConfiguration"

Field Value

string

Properties

Endpoints

Gets or sets the dictionary of endpoints for the server.
Key represents the endpoint identifier, and value holds the endpoint settings.

public Dictionary<string, EndpointSettings> Endpoints { get; set; }

Property Value

Dictionary<string, EndpointSettings>

Http2

Gets or sets the HTTP/2 specific configuration settings.

public KestrelHttp2Settings Http2 { get; set; }

Property Value

KestrelHttp2Settings

Http3

Gets or sets the HTTP/3 specific configuration settings.

public KestrelHttp3Settings Http3 { get; set; }

Property Value

KestrelHttp3Settings

Https

Gets or sets the global HTTPS configuration defaults.

public KestrelHttpsSettings Https { get; set; }

Property Value

KestrelHttpsSettings

Limits

Gets or sets the server-wide connection and request limits.

public KestrelLimits Limits { get; set; }

Property Value

KestrelLimits