Instance Propertyswift-nio 2.84.0NIOHTTP1
minor
The minor version number.
var minor: Int { get set }
The minor version number.
var minor: Int { get set }
import NIOHTTP1
struct HTTPVersion
A structure representing a HTTP version.
@frozen struct Int
A signed integer value type.
init(major: Int, minor: Int)
Create a HTTP version.
static var http0_9: HTTPVersion { get }
HTTP/0.9 (not supported by SwiftNIO)
static var http1_0: HTTPVersion { get }
HTTP/1.0
static var http1_1: HTTPVersion { get }
HTTP/1.1
static var http2: HTTPVersion { get }
HTTP/2
static var http3: HTTPVersion { get }
HTTP/3
var description: String { get }
var major: Int { get set }
The major version number.