ResponseTrailerExtensions.DeclareTrailer(HttpResponse, String) Methode

Definition

Fügt dem Antwortheader "Trailer" den angegebenen Trailernamen hinzu. Dies muss geschehen, bevor die Antwortheader gesendet werden.

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)

Parameter

response
HttpResponse
trailerName
String

Gilt für: