Delen via


RequestTrailerExtensions Class

Definition

HttpRequest extensions for working with request trailing headers.

public ref class RequestTrailerExtensions abstract sealed
public static class RequestTrailerExtensions
type RequestTrailerExtensions = class
Public Module RequestTrailerExtensions
Inheritance
RequestTrailerExtensions

Methods

CheckTrailersAvailable(HttpRequest)

Checks if the request supports trailers and they are available to be read now. This does not mean that there are any trailers to read.

GetDeclaredTrailers(HttpRequest)

Gets the request "Trailer" header that lists which trailers to expect after the body.

GetTrailer(HttpRequest, String)

Gets the requested trailing header from the response. Check SupportsTrailers(HttpRequest) or a NotSupportedException may be thrown. Check CheckTrailersAvailable(HttpRequest) or an InvalidOperationException may be thrown.

SupportsTrailers(HttpRequest)

Indicates if the request supports receiving trailer headers.

Applies to