Represents an HTTP protocol version

Attributes
Read & Write

The major protocol version number

Read & Write

The minor protocol version number

Class Methods

Converts version into an HTTPVersion

Creates a new HTTPVersion from version.

Instance Methods

Compares this version with other according to the HTTP specification rules.

The HTTP version as show in the HTTP request and response. For example, “1.1”