Instance Propertyswift-nio 2.72.0NIOHTTP1
headers
The header fields for this HTTP request.
HTTPTypes.swift:59var headers: HTTPHeaders
Other members in extension
Type members
init(version: HTTPVersion, method: HTTPMethod, uri: String
) Create a
HTTPRequestHead
init(version: HTTPVersion, method: HTTPMethod, uri: String, headers: HTTPHeaders
) Create a
HTTPRequestHead
static func == (lhs: HTTPRequestHead, rhs: HTTPRequestHead
) -> Bool
Instance members
var description: String
var isKeepAlive: Bool
Whether this HTTP request is a keep-alive request: that is, whether the connection should remain open after the request is complete.
var method: HTTPMethod
The HTTP method for this request.
var uri: String
var version: HTTPVersion
The version for this HTTP request.