Instance Propertyswift-nio 2.72.0NIOHTTP1
reasonPhrase
The string reason phrase for a given HTTP response status.
HTTPTypes.swift:961var reasonPhrase: String { get }
Other members in extension
Type members
init(statusCode: Int, reasonPhrase: String
) Initialize a
HTTPResponseStatus
from a given status and reason.
Instance members
var code: UInt
The numerical status code for a given HTTP response status.
var description: String
var mayHaveResponseBody: Bool
Whether responses with this status code may have a response body.