Initializer
init(status:reason:mimeType:type:content:)
Creates a new REST response section.
init(status: UInt, reason: String?, mimeType: String?, type: [DeclarationRenderSection.Token], content: [RenderBlockContent]?)
Parameters
statusThe HTTP status code for the response.
reasonAn optional plain-text reason for the response.
mimeTypeAn optional response MIME content-type.
typeA type declaration of the response’s content.
contentResponse details, if any.