File tree 11 files changed +58
-1
lines changed
11 files changed +58
-1
lines changed Original file line number Diff line number Diff line change @@ -174,3 +174,8 @@ public class DebugInboundEventsHandler: ChannelInboundHandler {
174
174
fflush ( stdout)
175
175
}
176
176
}
177
+
178
+ #if swift(>=5.6)
179
+ @available ( * , unavailable)
180
+ extension DebugInboundEventsHandler : Sendable { }
181
+ #endif
Original file line number Diff line number Diff line change @@ -170,3 +170,8 @@ public class DebugOutboundEventsHandler: ChannelOutboundHandler {
170
170
fflush ( stdout)
171
171
}
172
172
}
173
+
174
+ #if swift(>=5.6)
175
+ @available ( * , unavailable)
176
+ extension DebugOutboundEventsHandler : Sendable { }
177
+ #endif
Original file line number Diff line number Diff line change @@ -76,3 +76,8 @@ public final class FixedLengthFrameDecoder: ByteToMessageDecoder {
76
76
return . needMoreData
77
77
}
78
78
}
79
+
80
+ #if swift(>=5.6)
81
+ @available ( * , unavailable)
82
+ extension FixedLengthFrameDecoder : Sendable { }
83
+ #endif
Original file line number Diff line number Diff line change @@ -214,3 +214,13 @@ extension String {
214
214
return self [ firstElementIndex ..< lastElementIndex. base]
215
215
}
216
216
}
217
+
218
+
219
+
220
+ #if swift(>=5.6)
221
+ @available ( * , unavailable)
222
+ extension NIOJSONRPCFraming . ContentLengthHeaderFrameDecoder : Sendable { }
223
+
224
+ @available ( * , unavailable)
225
+ extension NIOJSONRPCFraming . ContentLengthHeaderFrameEncoder : Sendable { }
226
+ #endif
Original file line number Diff line number Diff line change @@ -246,3 +246,8 @@ public final class LengthFieldBasedFrameDecoder: ByteToMessageDecoder {
246
246
return frameLength
247
247
}
248
248
}
249
+
250
+ #if swift(>=5.6)
251
+ @available ( * , unavailable)
252
+ extension LengthFieldBasedFrameDecoder : Sendable { }
253
+ #endif
Original file line number Diff line number Diff line change @@ -144,3 +144,8 @@ public final class LengthFieldPrepender: ChannelOutboundHandler {
144
144
context. write ( data, promise: promise)
145
145
}
146
146
}
147
+
148
+ #if swift(>=5.6)
149
+ @available ( * , unavailable)
150
+ extension LengthFieldPrepender : Sendable { }
151
+ #endif
Original file line number Diff line number Diff line change @@ -91,3 +91,8 @@ public class LineBasedFrameDecoder: ByteToMessageDecoder {
91
91
return nil
92
92
}
93
93
}
94
+
95
+ #if swift(>=5.6)
96
+ @available ( * , unavailable)
97
+ extension LineBasedFrameDecoder : Sendable { }
98
+ #endif
Original file line number Diff line number Diff line change 12
12
//
13
13
//===----------------------------------------------------------------------===//
14
14
15
+ import NIOCore
16
+
15
17
/// A struct to describe the length of a piece of data in bits
16
- public struct NIOLengthFieldBitLength {
18
+ public struct NIOLengthFieldBitLength : NIOSendable {
17
19
internal enum Backing {
18
20
case bits8
19
21
case bits16
Original file line number Diff line number Diff line change @@ -96,3 +96,8 @@ public class NIOPCAPRingBuffer {
96
96
return toReturn
97
97
}
98
98
}
99
+
100
+ #if swift(>=5.6)
101
+ @available ( * , unavailable)
102
+ extension NIOPCAPRingBuffer : Sendable { }
103
+ #endif
Original file line number Diff line number Diff line change @@ -119,3 +119,8 @@ public final class RequestResponseHandler<Request, Response>: ChannelDuplexHandl
119
119
}
120
120
}
121
121
}
122
+
123
+ #if swift(>=5.6)
124
+ @available ( * , unavailable)
125
+ extension RequestResponseHandler : Sendable { }
126
+ #endif
Original file line number Diff line number Diff line change @@ -290,6 +290,11 @@ public class NIOWritePCAPHandler: RemovableChannelHandler {
290
290
}
291
291
}
292
292
293
+ #if swift(>=5.6)
294
+ @available ( * , unavailable)
295
+ extension NIOWritePCAPHandler : Sendable { }
296
+ #endif
297
+
293
298
extension NIOWritePCAPHandler : ChannelDuplexHandler {
294
299
public typealias InboundIn = ByteBuffer
295
300
public typealias InboundOut = ByteBuffer
You can’t perform that action at this time.
0 commit comments