mirror of
https://github.com/apple/swift-http-structured-headers
synced 2026-11-24 04:37:50 +00:00
* Make RawStructuredFieldValues sendable * Make StructuredFieldValues Sendable * Rename _Sendable to SHSendable * Fix date checking * Fix warning * Soundness * Update date Co-authored-by: Cory Benfield <lukasa@apple.com> Co-authored-by: Cory Benfield <lukasa@apple.com>
20 lines
623 B
Swift
20 lines
623 B
Swift
//===----------------------------------------------------------------------===//
|
|
//
|
|
// This source file is part of the SwiftNIO open source project
|
|
//
|
|
// Copyright (c) 2022 Apple Inc. and the SwiftNIO project authors
|
|
// Licensed under Apache License v2.0
|
|
//
|
|
// See LICENSE.txt for license information
|
|
// See CONTRIBUTORS.txt for the list of SwiftNIO project authors
|
|
//
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#if swift(>=5.5) && canImport(_Concurrency)
|
|
public typealias SHSendable = Sendable
|
|
#else
|
|
public typealias SHSendable = Any
|
|
#endif
|