ResponseTrailerExtensions.DeclareTrailer(HttpResponse, String) Метод

Определение

Добавляет заданное имя трейлера в заголовок ответа Trailer. Это должно произойти до отправки заголовков ответа.

public:
[System::Runtime::CompilerServices::Extension]
 static void DeclareTrailer(Microsoft::AspNetCore::Http::HttpResponse ^ response, System::String ^ trailerName);
public static void DeclareTrailer (this Microsoft.AspNetCore.Http.HttpResponse response, string trailerName);
static member DeclareTrailer : Microsoft.AspNetCore.Http.HttpResponse * string -> unit
<Extension()>
Public Sub DeclareTrailer (response As HttpResponse, trailerName As String)

Параметры

response
HttpResponse
trailerName
String

Применяется к