Skip to content

Commit

Permalink
Make HTTPMethod Sendable (#3848)
Browse files Browse the repository at this point in the history
### Goals ⚽
Just like the #3816 but for
`HTTPMethod`.
  • Loading branch information
bestwnh committed Mar 18, 2024
1 parent 6714db7 commit 9e9943f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Core/HTTPMethod.swift
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
/// `HTTPMethod.get != HTTPMethod(rawValue: "get")`.
///
/// See https://tools.ietf.org/html/rfc7231#section-4.3
public struct HTTPMethod: RawRepresentable, Equatable, Hashable {
public struct HTTPMethod: RawRepresentable, Equatable, Hashable, Sendable {
/// `CONNECT` method.
public static let connect = HTTPMethod(rawValue: "CONNECT")
/// `DELETE` method.
Expand Down

0 comments on commit 9e9943f

Please sign in to comment.