Skip to content

Commit 4a99fdc

Browse files
committed
Update URLClient
1 parent 9d627dd commit 4a99fdc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/HTTP/Client.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import HTTPTypesFoundation
1616
#endif
1717

1818
/// URL Client
19-
public protocol URLClient {
19+
public protocol URLClient: Sendable {
2020

2121
associatedtype URLError: Error
2222

@@ -25,7 +25,7 @@ public protocol URLClient {
2525
) async throws(URLError) -> (Data, URLResponse)
2626
}
2727

28-
public protocol HTTPClient {
28+
public protocol HTTPClient: Sendable {
2929

3030
associatedtype HTTPError: Error
3131

0 commit comments

Comments
 (0)