Required Instance Methodswift-nio 2.72.0NIOCore
handlerAdded(context:)
Called when this ChannelHandler
is added to the ChannelPipeline
.
func handlerAdded(context: ChannelHandlerContext)
Parameters
- context
The
ChannelHandlerContext
which thisChannelHandler
belongs to.
Other requirements
Instance members
func handlerRemoved(context: ChannelHandlerContext
) Called when this
ChannelHandler
is removed from theChannelPipeline
.
Citizens in NIOCore
Default implementations
func handlerAdded(context: ChannelHandlerContext
) Do nothing by default.