addHandlers(_:position:)

Add an array of handlers to the pipeline.

ChannelPipeline.swift:1275
func addHandlers(_ handlers: [ChannelHandler], position: ChannelPipeline.SynchronousOperations.Position = .last) throws

Parameters

handlers

The handlers to add.

position

The position in the ChannelPipeline to add handlers. Defaults to .last.