Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

struct System.​Net.​Http.​Headers.​HttpHeadersNonValidated

Assembly: System.Net.Http

Implemented Interfaces

Provides a view on top of a <see cref="T:System.Net.Http.Headers.HttpHeaders" /> collection that avoids forcing validation or parsing on its contents.

Properties

public int
Count
Gets the number of headers stored in the collection.
Item

Methods

public bool
Contains​(string headerName)
Gets whether the collection contains the specified header.
Returns <see langword="true" /> if the collection contains the header; otherwise, <see langword="false" /> .
headerName The name of the header.
public Enumerator
GetEnumerator​()
Gets an enumerator that iterates through the <see cref="T:System.Net.Http.Headers.HttpHeadersNonValidated" /> .
Returns An enumerator that iterates through the <see cref="T:System.Net.Http.Headers.HttpHeadersNonValidated" /> .
public bool
TryGetValues​(string headerName, HeaderStringValues& values)
public bool
Equals​(object obj)
Inherited from ValueType
public int
GetHashCode​()
Inherited from ValueType
public string
ToString​()
Inherited from ValueType
protected void
Finalize​()
Inherited from object
public Type
GetType​()
Inherited from object
protected object
MemberwiseClone​()
Inherited from object