HttpRequestHeaders Class

Definition

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

public sealed class HttpRequestHeaders : System.Net.Http.Headers.HttpHeaders
Inheritance
HttpRequestHeaders

Inherited Members

Remarks

This type is derived from HttpHeaders.

Properties

Accept

Gets the value of the Accept header for an HTTP request.

AcceptCharset

Gets the value of the Accept-Charset header for an HTTP request.

AcceptEncoding

Gets the value of the Accept-Encoding header for an HTTP request.

AcceptLanguage

Gets the value of the Accept-Language header for an HTTP request.

Authorization

Gets or sets the value of the Authorization header for an HTTP request.

CacheControl

Gets or sets the value of the Cache-Control header for an HTTP request.

Connection

Gets the value of the Connection header for an HTTP request.

ConnectionClose

Gets or sets a value that indicates if the Connection header for an HTTP request contains Close.

Date

Gets or sets the value of the Date header for an HTTP request.

Expect

Gets the value of the Expect header for an HTTP request.

ExpectContinue

Gets or sets a value that indicates if the Expect header for an HTTP request contains Continue.

From

Gets or sets the value of the From header for an HTTP request.

Host

Gets or sets the value of the Host header for an HTTP request.

IfMatch

Gets the value of the If-Match header for an HTTP request.

IfModifiedSince

Gets or sets the value of the If-Modified-Since header for an HTTP request.

IfNoneMatch

Gets the value of the If-None-Match header for an HTTP request.

IfRange

Gets or sets the value of the If-Range header for an HTTP request.

IfUnmodifiedSince

Gets or sets the value of the If-Unmodified-Since header for an HTTP request.

MaxForwards

Gets or sets the value of the Max-Forwards header for an HTTP request.

Pragma

Gets the value of the Pragma header for an HTTP request.

ProxyAuthorization

Gets or sets the value of the Proxy-Authorization header for an HTTP request.

Range

Gets or sets the value of the Range header for an HTTP request.

Referrer

Gets or sets the value of the Referer header for an HTTP request.

TE

Gets the value of the TE header for an HTTP request.

Trailer

Gets the value of the Trailer header for an HTTP request.

TransferEncoding

Gets the value of the Transfer-Encoding header for an HTTP request.

TransferEncodingChunked

Gets or sets a value that indicates if the Transfer-Encoding header for an HTTP request contains chunked.

Upgrade

Gets the value of the Upgrade header for an HTTP request.

UserAgent

Gets the value of the User-Agent header for an HTTP request.

Via

Gets the value of the Via header for an HTTP request.

Warning

Gets the value of the Warning header for an HTTP request.