Skip to content

Commit 0bd9111

Browse files
authored
mark HTTPClient.Response Sendable (#759)
`HTTPClient.Response` is trivially `Sendable`, let's mark it `Sendable`.
1 parent 07f171b commit 0bd9111

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/AsyncHTTPClient/HTTPHandler.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ extension HTTPClient {
288288
}
289289

290290
/// Represents an HTTP response.
291-
public struct Response {
291+
public struct Response: Sendable {
292292
/// Remote host of the request.
293293
public var host: String
294294
/// Response HTTP status.

0 commit comments

Comments
 (0)