SocketsHttpHandler.MaxResponseHeadersLength Property

Definition

Gets or sets the maximum length, in kilobytes (1024 bytes), of the response headers.

public:
 property int MaxResponseHeadersLength { int get(); void set(int value); };
public int MaxResponseHeadersLength { get; set; }
member this.MaxResponseHeadersLength : int with get, set
Public Property MaxResponseHeadersLength As Integer

Property Value

The maximum size of the header portion from the server response, in kilobytes.

Remarks

For example, if the value is 64, then 65,536 bytes are allowed for the maximum response headers' length.

Applies to