Early Preview
This is currently very much a preview. Please feel free to try things out,
but don't be upset if anything is not yet working. Feedback is welcome over on our
GitHub Dicussions page.
interface Microsoft.​AspNetCore.​Http.​Features.​IHttpRequestTrailersFeature
Assembly: Microsoft.AspNetCore.Http.Features
This feature exposes HTTP request trailer headers, either for HTTP/1.1 chunked bodies or HTTP/2 trailing headers.
Properties
bool
Available
Indicates if the <see cref="P:Microsoft.AspNetCore.Http.Features.IHttpRequestTrailersFeature.Trailers" /> are available yet. They may not be available until the
request body is fully read.
Trailers
The trailing headers received. This will throw <see cref="T:System.InvalidOperationException" /> if <see cref="P:Microsoft.AspNetCore.Http.Features.IHttpRequestTrailersFeature.Available" />
returns false. They may not be available until the request body is fully read. If there are no trailers this will
return an empty collection.