public class HttpVersion
Object
HttpVersion
System
Networking
Defines the HTTP version numbers supported by HttpWebRequest and HttpWebResponse .
[Note: This class defines the HTTP versions supported by HttpWebRequest and HttpWebResponse. The HTTP version number is used to control version-specific features of HTTP, such as pipelining and chunking.]
System.Net Namespace
HttpVersion Constructors
HttpVersion Fields
protected HttpVersion();
Constructs a new instance of the HttpVersion class.
System.Net.HttpVersion Class, System.Net Namespace
public static readonly Version Version10;
Defines a Version instance for HTTP 1.0.
This field represents a Version with a System.Version.Major value equal to 1, and a System.Version.Minor value equal to 0.
System.Net.HttpVersion Class, System.Net Namespace
public static readonly Version Version11;
Defines a Version instance for HTTP 1.1.
This field represents a Version with a System.Version.Major value equal to 1, and a System.Version.Minor value equal to 1.
System.Net.HttpVersion Class, System.Net Namespace