ResponseTrailerExtensions.DeclareTrailer(HttpResponse, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds the given trailer name to the 'Trailer' response header. This must happen before the response headers are sent.
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)
Parameters
- response
- HttpResponse
- trailerName
- String