Instance Methodswift-nio 2.72.0NIOPosix
withPipes(inputDescriptor:outputDescriptor:)
Bootstrap.swift:2254This declaration has been renamed to NIOPipeBootstrap.takingOwnershipOfDescriptors(input:output:).
This declaration is deprecated.
func withPipes(inputDescriptor: CInt, outputDescriptor: CInt) -> EventLoopFuture<Channel>
Other members in extension
Type members
init(group: EventLoopGroup
) Create a
NIOPipeBootstrap
on theEventLoopGroup
group
.init?(validatingGroup: EventLoopGroup
) Create a
NIOPipeBootstrap
on theEventLoopGroup
group
, validating thatgroup
is compatible.
Instance members
func channelInitializer(@escaping (Channel) -> EventLoopFuture<Void>
) -> Self Initialize the connected
PipeChannel
withinitializer
. The most common task in initializer is to addChannelHandler
s to theChannelPipeline
.func channelOption<Option>(Option, value: Option.Value
) -> Self Specifies a
ChannelOption
to be applied to thePipeChannel
.func takingOwnershipOfDescriptor(input: CInt
) -> EventLoopFuture<Channel> Create the
PipeChannel
with the provided input file descriptor.func takingOwnershipOfDescriptor<Output>(input: CInt, channelInitializer: @escaping (Channel) -> EventLoopFuture<Output>
) async throws -> Output Create the
PipeChannel
with the provided input file descriptor.func takingOwnershipOfDescriptor(inputOutput: CInt
) -> EventLoopFuture<Channel> Create the
PipeChannel
with the provided file descriptor which is used for both input & output.func takingOwnershipOfDescriptor<Output>(inputOutput: CInt, channelInitializer: @escaping (Channel) -> EventLoopFuture<Output>
) async throws -> Output Create the
PipeChannel
with the provided file descriptor which is used for both input & output.func takingOwnershipOfDescriptor(output: CInt
) -> EventLoopFuture<Channel> Create the
PipeChannel
with the provided output file descriptor.func takingOwnershipOfDescriptor<Output>(output: CInt, channelInitializer: @escaping (Channel) -> EventLoopFuture<Output>
) async throws -> Output Create the
PipeChannel
with the provided output file descriptor.func takingOwnershipOfDescriptors(input: CInt, output: CInt
) -> EventLoopFuture<Channel> Create the
PipeChannel
with the provided input and output file descriptors.func takingOwnershipOfDescriptors<Output>(input: CInt, output: CInt, channelInitializer: @escaping (Channel) -> EventLoopFuture<Output>
) async throws -> Output Create the
PipeChannel
with the provided input and output file descriptors.