File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ import NIOSSL
23
23
24
24
extension HTTPClient {
25
25
/// A request body.
26
- public struct Body {
26
+ public struct Body : Sendable {
27
27
/// A streaming uploader.
28
28
///
29
29
/// ``StreamWriter`` abstracts
@@ -209,7 +209,7 @@ extension HTTPClient {
209
209
}
210
210
211
211
/// Represents an HTTP request.
212
- public struct Request {
212
+ public struct Request : Sendable {
213
213
/// Request HTTP method, defaults to `GET`.
214
214
public let method : HTTPMethod
215
215
/// Remote URL.
@@ -469,7 +469,7 @@ extension HTTPClient {
469
469
}
470
470
}
471
471
472
- public struct RequestResponse {
472
+ public struct RequestResponse : Sendable {
473
473
public var request : Request
474
474
public var responseHead : HTTPResponseHead
475
475
You can’t perform that action at this time.
0 commit comments