Instance Method (Default implementation)swift-nio 2.81.0NIOCore
handlerAdded(context:)
Do nothing by default.
func handlerAdded(context: ChannelHandlerContext)
Do nothing by default.
func handlerAdded(context: ChannelHandlerContext)
s7NIOCore14ChannelHandlerPAAE12handlerAdded7contextyAA0bC7ContextC_tF
What are these?1HJF9
import NIOCore
The core abstractions that make up SwiftNIO.
protocol ChannelHandler : AnyObject
Base protocol for handlers that handle I/O events or intercept an I/O operation.
final class ChannelHandlerContext
Every ChannelHandler
has – when added to a ChannelPipeline
– a corresponding ChannelHandlerContext
which is the way ChannelHandler
s can interact with other ChannelHandler
s in the pipeline.
func handlerAdded(context: ChannelHandlerContext)
Called when this ChannelHandler
is added to the ChannelPipeline
.
func handlerRemoved(context: ChannelHandlerContext)
Do nothing by default.