Επεξεργασία

Κοινή χρήση μέσω


System.Net.Http.Headers Namespace

Provides support for collections of HTTP headers used by the System.Net.Http namespace.

Classes

AuthenticationHeaderValue

Represents authentication information in Authorization, ProxyAuthorization, WWW-Authenticate, and Proxy-Authenticate header values.

CacheControlHeaderValue

Represents the value of the Cache-Control header.

ContentDispositionHeaderValue

Represents the value of the Content-Disposition header.

ContentRangeHeaderValue

Represents the value of the Content-Range header.

EntityTagHeaderValue

Represents an entity-tag header value.

HttpContentHeaders

Represents the collection of Content Headers as defined in RFC 2616.

HttpHeaders

A collection of headers and their values as defined in RFC 2616.

HttpHeaderValueCollection<T>

Represents a collection of header values.

HttpRequestHeaders

Represents the collection of Request Headers as defined in RFC 2616.

HttpResponseHeaders

Represents the collection of Response Headers as defined in RFC 2616.

MediaTypeHeaderValue

Represents a media type used in a Content-Type header as defined in the RFC 2616.

MediaTypeWithQualityHeaderValue

Represents a media type with an additional quality factor used in a Content-Type header.

NameValueHeaderValue

Represents a name/value pair used in various headers as defined in RFC 2616.

NameValueWithParametersHeaderValue

Represents a name/value pair with parameters used in various headers as defined in RFC 2616.

ProductHeaderValue

Represents a product token value in a User-Agent header.

ProductInfoHeaderValue

Represents a value which can either be a product or a comment in a User-Agent header.

RangeConditionHeaderValue

Represents an If-Range header value which can either be a date/time or an entity-tag value.

RangeHeaderValue

Represents a Range header value.

RangeItemHeaderValue

Represents a byte range in a Range header value.

RetryConditionHeaderValue

Represents a Retry-After header value which can either be a date/time or a timespan value.

StringWithQualityHeaderValue

Represents a string header value with an optional quality.

TransferCodingHeaderValue

Represents an accept-encoding header value.

TransferCodingWithQualityHeaderValue

Represents an Accept-Encoding header value with optional quality factor.

ViaHeaderValue

Represents the value of a Via header.

WarningHeaderValue

Represents a warning value used by the Warning header.

Structs

HeaderStringValues

Provides a collection of header string values.

HeaderStringValues.Enumerator

Enumerates the elements of a HeaderStringValues.

HttpHeadersNonValidated

Provides a view on top of a HttpHeaders collection that avoids forcing validation or parsing on its contents.

HttpHeadersNonValidated.Enumerator

Enumerates the elements of a HttpHeadersNonValidated.

Remarks

The System.Net.Http.Headers namespace provides support for HTTP headers as defined in RFC 2616 by the IETF.