Required Instance Methodhummingbird 2.3.0Hummingbird
on(_:method:responder:)
Add responder to call when path and method are matched
RouterMethods.swift:29@discardableResult func on<Responder>(_ path: RouterPath, method: HTTPRequest.Method, responder: Responder) -> Self where Responder : HTTPResponder, Self.Context == Responder.Context
Parameters
Returns
self