We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f4c6e7f commit 50889c5Copy full SHA for 50889c5
src/Projects/BKData/Sources/URLBuilding.swift
@@ -0,0 +1,7 @@
1
+// Copyright © 2025 Booket. All rights reserved
2
+
3
+import Foundation
4
5
+public protocol URLBuilding {
6
+ func makeURL(target: RequestTarget) throws -> URL?
7
+}
src/Projects/BKNetwork/Sources/Helper/URLBuilder.swift
@@ -0,0 +1,10 @@
+import BKData
+public struct URLBuilder: URLBuilding {
+ public func makeURL(target: RequestTarget) throws -> URL? {
8
+ return try target.makeURLRequest().url
9
+ }
10
0 commit comments