ResponseTrailerExtensions Class
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.
Contains extension methods for modifying the Trailer
response header
and trailing headers in an HttpResponse.
public ref class ResponseTrailerExtensions abstract sealed
public static class ResponseTrailerExtensions
type ResponseTrailerExtensions = class
Public Module ResponseTrailerExtensions
- Inheritance
-
ResponseTrailerExtensions
Methods
AppendTrailer(HttpResponse, String, StringValues) |
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. |
DeclareTrailer(HttpResponse, String) |
Adds the given trailer name to the 'Trailer' response header. This must happen before the response headers are sent. |
SupportsTrailers(HttpResponse) |
Indicates if the server supports sending trailer headers for this response. |