HttpRequestHeaders Class

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

Inheritance Hierarchy

System.Object
  System.Net.Http.Headers.HttpHeaders
    System.Net.Http.Headers.HttpRequestHeaders

Namespace:  System.Net.Http.Headers
Assembly:  System.Net.Http (in System.Net.Http.dll)

Syntax

'Declaration
Public NotInheritable Class HttpRequestHeaders _
    Inherits HttpHeaders
'Usage
Dim instance As HttpRequestHeaders
public sealed class HttpRequestHeaders : HttpHeaders
public ref class HttpRequestHeaders sealed : public HttpHeaders
[<SealedAttribute>]
type HttpRequestHeaders =  
    class 
        inherit HttpHeaders 
    end
public final class HttpRequestHeaders extends HttpHeaders

The HttpRequestHeaders type exposes the following members.

Properties

  Name Description
Public property Accept Gets {insert text here}.
Public property AcceptCharset Gets {insert text here}.
Public property AcceptEncoding Gets {insert text here}.
Public property AcceptLanguage Gets {insert text here}.
Public property Authorization Gets or sets {insert text here}.
Public property CacheControl Gets or sets {insert text here}.
Public property Connection Gets {insert text here}.
Public property ConnectionClose Gets or sets {insert text here}.
Public property Date Gets or sets {insert text here}.
Public property Expect Gets {insert text here}.
Public property ExpectContinue Gets or sets {insert text here}.
Public property From Gets or sets {insert text here}.
Public property Host Gets or sets {insert text here}.
Public property IfMatch Gets {insert text here}.
Public property IfModifiedSince Gets or sets {insert text here}.
Public property IfNoneMatch Gets {insert text here}.
Public property IfRange Gets or sets {insert text here}.
Public property IfUnmodifiedSince Gets or sets {insert text here}.
Public property MaxForwards Gets or sets {insert text here}.
Public property Pragma Gets {insert text here}.
Public property ProxyAuthorization Gets or sets {insert text here}.
Public property Range Gets or sets {insert text here}.
Public property Referrer Gets or sets {insert text here}.
Public property TE Gets {insert text here}.
Public property Trailer Gets {insert text here}.
Public property TransferEncoding Gets {insert text here}.
Public property TransferEncodingChunked Gets or sets {insert text here}.
Public property Upgrade Gets {insert text here}.
Public property UserAgent Gets {insert text here}.
Public property Via Gets {insert text here}.
Public property Warning Gets {insert text here}.

Top

Methods

  Name Description
Public method Add(String, IEnumerable<String>) (Inherited from HttpHeaders.)
Public method Add(String, String) (Inherited from HttpHeaders.)
Public method Clear (Inherited from HttpHeaders.)
Public method Contains (Inherited from HttpHeaders.)
Public method Equals (Inherited from Object.)
Public method GetEnumerator (Inherited from HttpHeaders.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method GetValues (Inherited from HttpHeaders.)
Public method Remove (Inherited from HttpHeaders.)
Public method ToString (Inherited from HttpHeaders.)
Public method TryAddWithoutValidation(String, IEnumerable<String>) (Inherited from HttpHeaders.)
Public method TryAddWithoutValidation(String, String) (Inherited from HttpHeaders.)
Public method TryGetValues (Inherited from HttpHeaders.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IEnumerable.GetEnumerator (Inherited from HttpHeaders.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

System.Net.Http.Headers Namespace