Instance Propertyswift-nio 2.84.0NIOHTTP1
description
HTTPTypes.swift:1350var description: String { get }
var description: String { get }
import NIOHTTP1
enum HTTPResponseStatus
A HTTP response status code.
@frozen struct String
A Unicode string value that is a collection of characters.
init(statusCode: Int, reasonPhrase: String = "")
Initialize a HTTPResponseStatus
from a given status and reason.
var code: UInt { get }
The numerical status code for a given HTTP response status.
var mayHaveResponseBody: Bool { get }
Whether responses with this status code may have a response body.
var reasonPhrase: String { get }
The string reason phrase for a given HTTP response status.