mirror of
https://github.com/apple/swift-nio
synced 2026-11-28 05:14:23 +00:00
Adopt Sendable for Types in NIOWebSocket (#2217)
This commit is contained in:
1 parent
927b91a1e7
commit
fbe7ef484a
9 files changed
+44
-3
No files matched your search
@@ -12,8 +12,10 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
import NIOCore
|
||||
|
||||
/// An operation code for a websocket frame.
|
||||
public struct WebSocketOpcode {
|
||||
public struct WebSocketOpcode: NIOSendable {
|
||||
fileprivate let networkRepresentation: UInt8
|
||||
|
||||
public static let continuation = WebSocketOpcode(rawValue: 0x0)
|
||||
|
||||
Reference in new issue
Block a user