HttpClientHandler.MaxResponseHeadersLength Właściwość

Definicja

Pobiera lub ustawia maksymalną długość w kilobajtach (1024 bajty) nagłówków odpowiedzi. Jeśli na przykład wartość to 64, dla maksymalnej długości nagłówków odpowiedzi dozwolone są 65536 bajty.

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

Wartość właściwości

Int32

Maksymalna długość w kilobajtach (1024 bajty) nagłówków odpowiedzi.

Atrybuty

Dotyczy