Table of Contents

Class KestrelHttp2Settings

Namespace
AdvanceFileUpload.API
Assembly
AdvanceFileUpload.API.dll

Contains configuration settings specific to HTTP/2. Manages stream limits, header compression, and frame sizes.

public class KestrelHttp2Settings
Inheritance
KestrelHttp2Settings
Inherited Members

Properties

HeaderTableSize

Gets or sets the size of the HPACK header compression table.

    Limits the size of the header compression tables, in octets, the HPACK encoder and decoder on the server can use.
    <p>
    Value must be greater than or equal to 0, defaults to 4096 octets (4 KiB).
    </p>
public int HeaderTableSize { get; set; }

Property Value

int

MaxFrameSize

Gets or sets the maximum allowed frame size in bytes.

    Indicates the size of the largest frame payload that is allowed to be received, in octets. The size must be between 2^14 and 2^24-1.
    <p>
    Value must be between 2^14 and 2^24, defaults to 2^14 octets (16 KiB).
    </p>
public int MaxFrameSize { get; set; }

Property Value

int

MaxStreamsPerConnection

Gets or sets the maximum number of concurrent streams allowed per connection.

    Limits the number of concurrent request streams per HTTP/2 connection. Excess streams will be refused.
    <p>
    Value must be greater than 0, defaults to 100 streams.
    </p>
public int MaxStreamsPerConnection { get; set; }

Property Value

int