Make Request.Method and Response.Status conform to Sendable.

This commit is contained in:
Tomohiro Kumagai committed 2023-07-14 22:53:32 +09:00
1 parent 39661f4ca8
commit 57140e3abc
3 files changed
+29 -2

No files matched your search

+1 -1
View File
@@ -22,7 +22,7 @@
/// the "Host" header.
public struct HTTPRequest: Sendable, Hashable {
/// The HTTP request method
public struct Method: Hashable, RawRepresentable, LosslessStringConvertible {
public struct Method: Sendable, Hashable, RawRepresentable, LosslessStringConvertible {
/// The string value of the request.
public let rawValue: String