Instance Propertyhummingbird 2.10.0Hummingbird->NIOCore
headers
NIOCore+HTTPResponseError.swift:21var headers: HTTPFields { get }
var headers: HTTPFields { get }
s7NIOCore20NIOTooManyBytesErrorV11HummingbirdE7headers9HTTPTypes10HTTPFieldsVvp
What are these?8DT7G
import NIOCore
The core abstractions that make up SwiftNIO.
import Hummingbird
struct NIOTooManyBytesError
An error that is thrown when the number of bytes in an AsyncSequence exceeds the limit.
struct HTTPFields
A collection of HTTP fields. It is used in HTTPRequest
and HTTPResponse
, and can also be used as HTTP trailer fields.
var status: HTTPResponse.Status { get }
func response(from request: Request, context: some RequestContext) throws -> Response