class HttpHeaders
in global :: System . Net . Http . Headers
A collection of headers and their values as defined in RFC 2616.
public void Add( string name, string value )
Adds the specified header and its value into the collection.
nameThe header to add to the collection.valueThe content of the header.
public bool Contains( string name )
Returns if a specific header exists in the collection.
nameThe specific header.- Returns is the specified header exists in the collection; otherwise .
public IEnumerable<string> GetValues( string name )
Returns all header values for a specified header stored in the collection.
nameThe specified header to return values for.- Returns An array of header strings.
public bool Remove( string name )
Removes the specified header from the collection.
nameThe name of the header to remove from the collection.- Returns Returns .
public bool TryAddWithoutValidation( string name, string value )
Returns a value that indicates whether the specified header and its value were added to the collection without validating the provided information.
nameThe header to add to the collection.valueThe content of the header.- Returns if the specified header and could be added to the collection; otherwise .
public HttpHeadersNonValidated NonValidated { get; }
😔 No documentation found.
public void Add( string name, IEnumerable<string> values )
😔 No documentation found.
public bool TryAddWithoutValidation( string name, IEnumerable<string> values )
😔 No documentation found.
public bool TryGetValues( string name, ref IEnumerable<string> values )
😔 No documentation found.
public string ToString( )
😔 No documentation found.
public IEnumerator<KeyValuePair<string,IEnumerable<string>>> GetEnumerator( )
😔 No documentation found.
public void Clear( )
😔 No documentation found.
public Type GetType( )
😔 No documentation found.
public bool Equals( object obj )
😔 No documentation found.
public int GetHashCode( )
😔 No documentation found.