Required Instance Methodswift-nio 2.72.0NIOCore

    register(context:promise:)

    Called to request that the Channel register itself for I/O events with its EventLoop. This should call context.register to forward the operation to the next _ChannelOutboundHandler in the ChannelPipeline or complete the EventLoopPromise to let the caller know that the operation completed.

    ChannelHandler.swift:51
    func register(context: ChannelHandlerContext, promise: EventLoopPromise<Void>?)

    Parameters

    context

    The ChannelHandlerContext which this ChannelHandler belongs to.

    promise

    The EventLoopPromise which should be notified once the operation completes, or nil if no notification should take place.

    Other requirements

    Instance members

    Citizens in NIOCore

    Default implementations