Required Instance Methodswift-nio 2.84.0NIOCore

channelRegistered(context:)

Called when the Channel has successfully registered with its EventLoop to handle I/O.

ChannelHandler.swift:146
func channelRegistered(context: ChannelHandlerContext)

Parameters

context

The ChannelHandlerContext which this ChannelHandler belongs to.

This should call context.fireChannelRegistered to forward the operation to the next _ChannelInboundHandler in the ChannelPipeline if you want to allow the next handler to also handle the event.