Static Methodhummingbird 2.15.0Hummingbird
buildEither(second:)
MiddlewareFixedTypeBuilder.swift:50static func buildEither<M0>(second content: M0) -> M0 where M0 : MiddlewareProtocol static func buildEither<M0>(second content: M0) -> M0 where M0 : MiddlewareProtocol s11Hummingbird26MiddlewareFixedTypeBuilderO11buildEither6secondqd__qd___tAA0B8ProtocolRd__lFZ What are these?3Y7S7import Hummingbird@resultBuilder enum MiddlewareFixedTypeBuilder<Input, Output, Context>Middleware stack result builder
protocol MiddlewareProtocol<Input, Output, Context> : SendableMiddleware protocol with generic input, context and output types
static func buildArray<M0>(_ components: [M0]) -> _SpreadMiddleware<M0> where M0 : MiddlewareProtocol static func buildBlock<M0>(_ m0: M0) -> M0 where M0 : MiddlewareProtocol static func buildEither<M0>(first content: M0) -> M0 where M0 : MiddlewareProtocol static func buildExpression<M0>(_ m0: M0) -> M0 where Input == M0.Input, Output == M0.Output, Context == M0.Context, M0 : MiddlewareProtocol static func buildOptional<M0>(_ component: M0?) -> _OptionalMiddleware<M0> where M0 : MiddlewareProtocol static func buildPartialBlock<M0, M1>(accumulated m0: M0, next m1: M1) -> _Middleware2<M0, M1> where M0 : MiddlewareProtocol, M1 : MiddlewareProtocol, M0.Context == M1.Context, M0.Input == M1.Input, M0.Output == M1.Output static func buildPartialBlock<M0>(first: M0) -> M0 where M0 : MiddlewareProtocol