mirror of
https://github.com/apple/swift-nio-http2
synced 2026-11-25 04:47:50 +00:00
Replace NIOSendable with Sendable (#358)
Motivation: NIOSendable was deprecated in https://github.com/apple/swift-nio/pull/2291 as the earliest supported Swift version in NIO land is now 5.5. Modifications: - s/NIOSendable/Sendable Result: Avoids deprecation warnings when the above patch is released.
This commit is contained in:
1 parent
a89ddbf0af
commit
b1f1e68683
13 files changed
+20
-20
No files matched your search
@@ -18,7 +18,7 @@ import NIOCore
|
||||
///
|
||||
/// HTTP/2 uses error codes to communicate to remote peers what went wrong on either a stream or
|
||||
/// a connection. This data type models that underlying representation.
|
||||
public struct HTTP2ErrorCode: NIOSendable {
|
||||
public struct HTTP2ErrorCode: Sendable {
|
||||
/// The underlying network representation of the error code.
|
||||
public var networkCode: Int {
|
||||
get {
|
||||
|
||||
Reference in new issue
Block a user