Skip to content

Commit 15a416c

Browse files
authored
Merge pull request #15 from mackoj/patch-1
URLResponse is unavailable on Linux
2 parents 16f35e5 + 03da672 commit 15a416c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Sources/TinyNetworking/Endpoint.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
import Foundation
2+
#if canImport(FoundationNetworking)
3+
import FoundationNetworking
4+
#endif
25

36
/// Built-in Content Types
47
public enum ContentType: String {

0 commit comments

Comments
 (0)