EntityTagHeaderParser Class

Parses an entity tag header. Entity tags are used to determine if a cached representation of a resource is the same as the current representation of the resource.

Namespace

System.Net.Http.Headers

Assembly

System.Net.Http.dll

Remarks

The EntityTagHeaderParser class provides functionality to parse the ETag header, which is used in HTTP communication for caching and conditional requests. An entity tag is an identifier assigned by the web server to a specific version of a resource. Clients can use this tag to check if the resource has changed since the last retrieval.

This parser is an internal helper class and is not intended to be directly used by application code. It's part of the underlying implementation of the HttpClient and related classes for handling HTTP headers correctly.

Methods

This class primarily exposes methods through its base class, GenericHeaderParser<T>.

Static Properties

Name Description
EntityTagHeaderParser Gets an instance of the EntityTagHeaderParser class.

See Also