We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9799fdc commit 11600b8Copy full SHA for 11600b8
Sources/Handlers/CompositeHTTPHandler.swift
@@ -33,6 +33,8 @@ public struct CompositeHTTPHandler: HTTPHandler, Sendable {
33
34
private var handlers: [(route: HTTPRoute, handler: HTTPHandler)] = []
35
36
+ public init() { }
37
+
38
public mutating func appendHandler(for route: HTTPRoute, handler: HTTPHandler) {
39
handlers.append((route, handler))
40
}
0 commit comments