mirror of
https://github.com/apple/swift-nio
synced 2026-11-26 04:57:49 +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
@@ -115,6 +115,10 @@ public final class WebSocketFrameEncoder: ChannelOutboundHandler {
|
||||
}
|
||||
}
|
||||
|
||||
#if swift(>=5.6)
|
||||
@available(*, unavailable)
|
||||
extension WebSocketFrameEncoder: Sendable {}
|
||||
#endif
|
||||
|
||||
extension ByteBuffer {
|
||||
fileprivate mutating func prependFrameHeaderIfPossible(_ frameHeader: FrameHeader) -> Bool {
|
||||
|
||||
Reference in new issue
Block a user