IHttpResponseFeature.ReasonPhrase Vlastnost

Definice

Získá nebo nastaví důvod-frázi definovanou v DOKUMENTU RFC 9112 Oddíl 4. Všimněte si, že toto pole už http/2 nepodporuje.

public:
 property System::String ^ ReasonPhrase { System::String ^ get(); void set(System::String ^ value); };
public string ReasonPhrase { get; set; }
public string? ReasonPhrase { get; set; }
member this.ReasonPhrase : string with get, set
Public Property ReasonPhrase As String

Hodnota vlastnosti

Poznámky

Musí obsahovat pouze znaky ASCII: HTAB (0x09), SP (0x20) a VCHAR (0x21-0x7E). Znaky jiné než ASCII (> 0x7E) a řídicí znaky včetně CR a LF jsou odmítnuty. Volající by neměli předávat nedůvěryhodné nebo uživatelem zadané vstupy bez předchozí sanitizace.

Platí pro