Instance Propertyhummingbird 2.1.0Hummingbird
middlewares
Router.swift:48let middlewares: MiddlewareGroup<Context>
Other members in extension
Type members
Instance members
func add(middleware: any MiddlewareProtocol<Request, Response, Context>
) -> Self Add middleware to Router
func buildResponder(
) -> RouterResponder<Context> build responder from router
func on<Responder>(RouterPath, method: HTTPRequest.Method, responder: Responder
) -> Self Add responder to call when path and method are matched