ResponseTrailerExtensions.AppendTrailer 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 header to the trailers collection to be sent at the end of the response body. Check SupportsTrailers(HttpResponse) or an InvalidOperationException may be thrown.
public:
[System::Runtime::CompilerServices::Extension]
static void AppendTrailer(Microsoft::AspNetCore::Http::HttpResponse ^ response, System::String ^ trailerName, Microsoft::Extensions::Primitives::StringValues trailerValues);
public static void AppendTrailer (this Microsoft.AspNetCore.Http.HttpResponse response, string trailerName, Microsoft.Extensions.Primitives.StringValues trailerValues);
static member AppendTrailer : Microsoft.AspNetCore.Http.HttpResponse * string * Microsoft.Extensions.Primitives.StringValues -> unit
<Extension()>
Public Sub AppendTrailer (response As HttpResponse, trailerName As String, trailerValues As StringValues)
Parameters
- response
- HttpResponse
- trailerName
- String
- trailerValues
- StringValues
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for