typealias Input = M0.Input
s11Hummingbird19_OptionalMiddlewareV5InputaWhat are these?
s11Hummingbird19_OptionalMiddlewareV5Inputa
FNV24: [3ALHH]
Show implementation details (2)
Hide implementation details
typealias Context
typealias Output
let middleware: M0?
func handle(M0.Input, context: M0.Context, next: (M0.Input, M0.Context) async throws -> M0.Output) async throws -> M0.Output
import Hummingbird
struct _OptionalMiddleware<M0> where M0 : MiddlewareProtocol
A middleware that can handle an optional middleware.
associatedtype Input
func handle(_ input: M0.Input, context: M0.Context, next: (M0.Input, M0.Context) async throws -> M0.Output) async throws -> M0.Output
typealias Context = M0.Context
typealias Output = M0.Output