mirror of
https://github.com/apple/swift-http-structured-headers
synced 2026-11-23 04:34:21 +00:00
Remove Swift 5.5 Dockerfile (#34)
* Remove Swift 5.5 Dockerfile Motivation: Swift 5.5 is no longer supported. Modifications: Remove Swift 5.5 Dockerfile Result: Swift 5.5 support fully removed * Remove SHSendable --------- Co-authored-by: Cory Benfield <lukasa@apple.com>
This commit is contained in:
1 parent
e8c756ea88
commit
ef88c2245f
10 files changed
+16
-58
No files matched your search
@@ -16,7 +16,7 @@ import RawStructuredFieldValues
|
||||
|
||||
/// A `StructuredFieldValueEncoder` allows encoding `Encodable` objects to the format of a HTTP
|
||||
/// structured header field.
|
||||
public struct StructuredFieldValueEncoder: SHSendable {
|
||||
public struct StructuredFieldValueEncoder: Sendable {
|
||||
public var keyEncodingStrategy: KeyEncodingStrategy?
|
||||
|
||||
public init() {}
|
||||
@@ -24,7 +24,7 @@ public struct StructuredFieldValueEncoder: SHSendable {
|
||||
|
||||
extension StructuredFieldValueEncoder {
|
||||
/// A strategy that should be used to map coding keys to wire format keys.
|
||||
public struct KeyEncodingStrategy: Hashable, SHSendable {
|
||||
public struct KeyEncodingStrategy: Hashable, Sendable {
|
||||
fileprivate enum Base: Hashable {
|
||||
case lowercase
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user