Aracılığıyla paylaş


ResponseTrailerExtensions.DeclareTrailer(HttpResponse, String) Yöntem

Tanım

Verilen römork adını 'Trailer' yanıt üst bilgisine ekler. Yanıt üst bilgileri gönderilmeden önce bu gerçekleşmelidir.

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)

Parametreler

response
HttpResponse
trailerName
String

Şunlara uygulanır