mirror of
https://github.com/apple/swift-nio-extras
synced 2026-11-28 05:14:24 +00:00
Add RemovableChannelHandler comformance to HTTPType channel handlers (#213)
This commit is contained in:
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
|
||||
|
||||
|
||||
Reference in new issue
Block a user