protocol Channel : AnyObject, ChannelOutboundInvoker, _NIOPreconcurrencySendable
A Channel
is easiest thought of as a network socket. But it can be anything that is capable of I/O operations such as read, write, connect, and bind.
static func _wrapAsyncChannelWithTransformations(wrappingChannelSynchronously channel: Channel, backPressureStrategy: NIOAsyncSequenceProducerBackPressureStrategies.HighLowWatermark? = nil, isOutboundHalfClosureEnabled: Bool = false, channelReadTransformation: @escaping (Channel) -> EventLoopFuture<Inbound>) throws -> NIOAsyncChannel<Inbound, Outbound> where Outbound == Never
This method is only used from our server bootstrap to allow us to run the child channel initializer at the right moment.
static func _wrapAsyncChannelWithTransformations(synchronouslyWrapping channel: Channel, backPressureStrategy: NIOAsyncSequenceProducerBackPressureStrategies.HighLowWatermark? = nil, isOutboundHalfClosureEnabled: Bool = false, channelReadTransformation: @escaping (Channel) -> EventLoopFuture<Inbound>) throws -> NIOAsyncChannel<Inbound, Outbound> where Outbound == Never
This method is only used from our server bootstrap to allow us to run the child channel initializer at the right moment.