Skip to content

Commit 11600b8

Browse files
committed
public init
1 parent 9799fdc commit 11600b8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Sources/Handlers/CompositeHTTPHandler.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ public struct CompositeHTTPHandler: HTTPHandler, Sendable {
3333

3434
private var handlers: [(route: HTTPRoute, handler: HTTPHandler)] = []
3535

36+
public init() { }
37+
3638
public mutating func appendHandler(for route: HTTPRoute, handler: HTTPHandler) {
3739
handlers.append((route, handler))
3840
}

0 commit comments

Comments
 (0)