ChannelHandler: provide static (un)wrap(In|Out)bound(In|Out) (#2791)

This commit is contained in:
Johannes Weiss authored and GitHub committed 2024-07-18 11:55:48 +01:00
1 parent 223b0e8eac
commit 7948ed2104
72 files changed
+369 -343

No files matched your search

@@ -258,7 +258,7 @@ public final class WebSocketFrameDecoder: ByteToMessageDecoder {
while true {
switch parser.parseStep(&buffer) {
case .result(let frame):
context.fireChannelRead(self.wrapInboundOut(frame))
context.fireChannelRead(Self.wrapInboundOut(frame))
return .continue
case .continueParsing:
try self.parser.validateState(maxFrameSize: self.maxFrameSize)