addHandlers(_:position:)
Adds the provided channel handlers to the pipeline in the order given, taking account of the behaviour of ChannelHandler.add(first:)
.
@preconcurrency func addHandlers(_ handlers: any ChannelHandler & Sendable..., position: ChannelPipeline.Position = .last) -> EventLoopFuture<Void>
Parameters
Returns
A future that will be completed when all of the supplied ChannelHandler
s were added.