diff --git a/Sources/NIOHTTPTypesHTTP1/HTTP1ToHTTPCodec.swift b/Sources/NIOHTTPTypesHTTP1/HTTP1ToHTTPCodec.swift index cfde0f3..858864b 100644 --- a/Sources/NIOHTTPTypesHTTP1/HTTP1ToHTTPCodec.swift +++ b/Sources/NIOHTTPTypesHTTP1/HTTP1ToHTTPCodec.swift @@ -19,7 +19,7 @@ import NIOHTTPTypes /// A simple channel handler that translates HTTP/1 messages into shared HTTP types, /// and vice versa, for use on the client side. -public final class HTTP1ToHTTPClientCodec: ChannelDuplexHandler { +public final class HTTP1ToHTTPClientCodec: ChannelDuplexHandler, RemovableChannelHandler { public typealias InboundIn = HTTPClientResponsePart public typealias InboundOut = HTTPResponsePart @@ -66,7 +66,7 @@ public final class HTTP1ToHTTPClientCodec: ChannelDuplexHandler { /// A simple channel handler that translates HTTP/1 messages into shared HTTP types, /// and vice versa, for use on the server side. -public final class HTTP1ToHTTPServerCodec: ChannelDuplexHandler { +public final class HTTP1ToHTTPServerCodec: ChannelDuplexHandler, RemovableChannelHandler { public typealias InboundIn = HTTPServerRequestPart public typealias InboundOut = HTTPRequestPart diff --git a/Sources/NIOHTTPTypesHTTP1/HTTPToHTTP1Codec.swift b/Sources/NIOHTTPTypesHTTP1/HTTPToHTTP1Codec.swift index f1f21ff..56ca1d6 100644 --- a/Sources/NIOHTTPTypesHTTP1/HTTPToHTTP1Codec.swift +++ b/Sources/NIOHTTPTypesHTTP1/HTTPToHTTP1Codec.swift @@ -23,7 +23,7 @@ import NIOHTTPTypes /// This is intended for compatibility purposes where a channel handler working with /// HTTP/1 messages needs to work on top of the new version-independent HTTP types /// abstraction. -public final class HTTPToHTTP1ClientCodec: ChannelDuplexHandler { +public final class HTTPToHTTP1ClientCodec: ChannelDuplexHandler, RemovableChannelHandler { public typealias InboundIn = HTTPResponsePart public typealias InboundOut = HTTPClientResponsePart @@ -86,7 +86,7 @@ public final class HTTPToHTTP1ClientCodec: ChannelDuplexHandler { /// This is intended for compatibility purposes where a channel handler working with /// HTTP/1 messages needs to work on top of the new version-independent HTTP types /// abstraction. -public final class HTTPToHTTP1ServerCodec: ChannelDuplexHandler { +public final class HTTPToHTTP1ServerCodec: ChannelDuplexHandler, RemovableChannelHandler { public typealias InboundIn = HTTPRequestPart public typealias InboundOut = HTTPServerRequestPart diff --git a/Sources/NIOHTTPTypesHTTP2/HTTP2ToHTTPCodec.swift b/Sources/NIOHTTPTypesHTTP2/HTTP2ToHTTPCodec.swift index 6d57448..58e4496 100644 --- a/Sources/NIOHTTPTypesHTTP2/HTTP2ToHTTPCodec.swift +++ b/Sources/NIOHTTPTypesHTTP2/HTTP2ToHTTPCodec.swift @@ -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