mirror of
https://github.com/apple/swift-nio
synced 2026-11-30 05:28:44 +00:00
make all removals go through the RemovableChannelHandler API (#815)
Motivation: Some of the ChannelPipeline removal methods did not go through the RemovableChannelHandler API. Modifications: make all removal APIs go through the RemovableChannelHandler API Result: fewer bugs
This commit is contained in:
1 parent
c6c1f84459
commit
6e7a3de8e8
7 files changed
+97
-18
No files matched your search
@@ -165,7 +165,7 @@ public final class HTTPRequestDecoder: HTTPDecoder<HTTPServerRequestPart>, Remov
|
||||
/// were for accurate decoding.
|
||||
///
|
||||
/// Rather than set this up manually, consider using `ChannelPipeline.addHTTPClientHandlers`.
|
||||
public final class HTTPResponseDecoder: HTTPDecoder<HTTPClientResponsePart>, ChannelOutboundHandler {
|
||||
public final class HTTPResponseDecoder: HTTPDecoder<HTTPClientResponsePart>, ChannelOutboundHandler, RemovableChannelHandler {
|
||||
public typealias OutboundIn = HTTPClientRequestPart
|
||||
public typealias OutboundOut = HTTPClientRequestPart
|
||||
|
||||
|
||||
Reference in new issue
Block a user