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
2323
2424extension HTTPClient {
2525 /// A request body.
26- public struct Body {
26+ public struct Body : Sendable {
2727 /// A streaming uploader.
2828 ///
2929 /// ``StreamWriter`` abstracts
@@ -209,7 +209,7 @@ extension HTTPClient {
209209 }
210210
211211 /// Represents an HTTP request.
212- public struct Request {
212+ public struct Request : Sendable {
213213 /// Request HTTP method, defaults to `GET`.
214214 public let method : HTTPMethod
215215 /// Remote URL.
@@ -469,7 +469,7 @@ extension HTTPClient {
469469 }
470470 }
471471
472- public struct RequestResponse {
472+ public struct RequestResponse : Sendable {
473473 public var request : Request
474474 public var responseHead : HTTPResponseHead
475475
You can’t perform that action at this time.
0 commit comments