Instance Methodhummingbird 2.3.0HummingbirdCore
writeResponse(_:)
Write full HTTP response that doesn’t include a body
ResponseWriter.swift:48consuming func writeResponse(_ head: HTTPResponse) async throws
Parameters
- head
Response head
Other members in extension
Instance members
func writeHead(HTTPResponse
) async throws -> some ResponseBodyWriter Write HTTP head part and return
ResponseBodyWriter
to write response bodyfunc writeInformationalHead(HTTPResponse
) async throws Write Informational HTTP head part