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.

class System.​Net.​HttpVersion

Assembly: System.Net.Primitives

Inheritance: object → HttpVersion

Defines the HTTP version numbers that are supported by the <see cref="T:System.Net.HttpWebRequest" /> and <see cref="T:System.Net.HttpWebResponse" /> classes.

Fields and Constants

public static readonly Version
Unknown
Defines a <see cref="T:System.Version" /> instance for an unknown HTTP version.
public static readonly Version
Version10
Defines a <see cref="T:System.Version" /> instance for HTTP 1.0.
public static readonly Version
Version11
Defines a <see cref="T:System.Version" /> instance for HTTP 1.1.
public static readonly Version
Version20
Defines a <see cref="T:System.Version" /> instance for HTTP 2.0.
public static readonly Version
Version30
Defines a <see cref="T:System.Version" /> instance for HTTP 3.0.

Methods

public bool
Equals​(object obj)
Inherited from object
protected void
Finalize​()
Inherited from object
public int
GetHashCode​()
Inherited from object
public Type
GetType​()
Inherited from object
protected object
MemberwiseClone​()
Inherited from object
public string
ToString​()
Inherited from object