Bewerken

Share via


HttpClientHandler.MaxResponseHeadersLength Property

Definition

Gets or sets the maximum length, in kilobytes (1024 bytes), of the response headers. For example, if the value is 64, then 65536 bytes are allowed for the maximum response headers' length.

public:
 property int MaxResponseHeadersLength { int get(); void set(int value); };
[System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
public int MaxResponseHeadersLength { get; set; }
public int MaxResponseHeadersLength { get; set; }
[<System.Runtime.Versioning.UnsupportedOSPlatform("browser")>]
member this.MaxResponseHeadersLength : int with get, set
member this.MaxResponseHeadersLength : int with get, set
Public Property MaxResponseHeadersLength As Integer

Property Value

The maximum length, in kilobytes (1024 bytes), of the response headers.

Attributes

Applies to