Add RemovableChannelHandler comformance to HTTPType channel handlers (#213)

This commit is contained in:
Adam Fowler authored and GitHub committed 2023-12-06 10:00:50 +00:00
1 parent 7264a5a0d7
commit 6717fd068f
3 files changed
+6 -6

No files matched your search

@@ -104,7 +104,7 @@ private struct BaseClientCodec {
/// connection.
///
/// This handler uses `HTTP2Frame.FramePayload` as its HTTP/2 currency type.
public final class HTTP2FramePayloadToHTTPClientCodec: ChannelDuplexHandler {
public final class HTTP2FramePayloadToHTTPClientCodec: ChannelDuplexHandler, RemovableChannelHandler {
public typealias InboundIn = HTTP2Frame.FramePayload
public typealias InboundOut = HTTPResponsePart
@@ -212,7 +212,7 @@ private struct BaseServerCodec {
/// connection.
///
/// This handler uses `HTTP2Frame.FramePayload` as its HTTP/2 currency type.
public final class HTTP2FramePayloadToHTTPServerCodec: ChannelDuplexHandler {
public final class HTTP2FramePayloadToHTTPServerCodec: ChannelDuplexHandler, RemovableChannelHandler {
public typealias InboundIn = HTTP2Frame.FramePayload
public typealias InboundOut = HTTPRequestPart