takingOwnershipOfDescriptors(input:output:)

    Create the PipeChannel with the provided input and output file descriptors.

    Bootstrap.swift:2188
    func takingOwnershipOfDescriptors(input: CInt, output: CInt) -> EventLoopFuture<Channel>

    Parameters

    input

    The Unix file descriptor for the input (ie. the read side).

    output

    The Unix file descriptor for the output (ie. the write side).

    Returns

    an EventLoopFuture<Channel> to deliver the Channel.

    The input and output file descriptors must be distinct. If you have a single file descriptor, consider using ClientBootstrap.withConnectedSocket(descriptor:) if it’s a socket or NIOPipeBootstrap.takingOwnershipOfDescriptor if it is not a socket.

    Other members in extension

    Type members

    Instance members

    Show obsolete interfaces (2)

    Hide obsolete interfaces