HBMiddlewareGroup
public final class HBMiddlewareGroup
Group of middleware that can be used to create a responder chain. Each middleware calls the next one
-
Undocumented
Declaration
Swift
public init()
-
Add middleware to group
Declaration
Swift
public func add(_ middleware: HBMiddleware)
-
Construct responder chain from this middleware group
Declaration
Swift
public func constructResponder(finalResponder: HBResponder) -> HBResponder
Parameters
finalResponder
The responder the last middleware calls
Return Value
Responder chain