IHttpRequestTrailersFeature Interface

Definition

This feature exposes HTTP request trailer headers, either for HTTP/1.1 chunked bodies or HTTP/2 trailing headers.

public interface class IHttpRequestTrailersFeature
public interface IHttpRequestTrailersFeature
type IHttpRequestTrailersFeature = interface
Public Interface IHttpRequestTrailersFeature

Properties

Available

Indicates if the Trailers are available yet. They may not be available until the request body is fully read.

Trailers

The trailing headers received. This will throw InvalidOperationException if 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.

Applies to