SocketsHttpHandler.InitialHttp2StreamWindowSize Property

Definition

Defines the initial HTTP2 stream receive window size for all connections opened by the this SocketsHttpHandler.

C#
public int InitialHttp2StreamWindowSize { get; set; }

Property Value

Exceptions

The provided window size is outside of the supported range.

An operation has already been started on the current instance.

The current instance has been disposed.

Remarks

Larger the values may lead to faster download speed, but potentially higher memory footprint. The property must be set to a value between 65535 and the configured maximum window size, which is 16777216 by default.

Applies to

Produkt Versioner
.NET 6, 7, 8, 9, 10