Initializerhummingbird 2.3.0HummingbirdCore
init(status:headers:body:)
Initialize Response
Response.swift:44init(status: HTTPResponse.Status, headers: HTTPFields = .init(), body: ResponseBody = .init())
Other members in extension
Instance members
var body: ResponseBody
Response body
var description: String
var head: HTTPResponse
Response head constructed from status and headers
var headers: HTTPFields
Response headers
var status: HTTPResponse.Status
Response status
func createHeadResponse(
) -> Response Return HEAD response based off this response