connect(unixDomainSocketPath:channelInitializer:)

    Connect the DatagramChannel to the unixDomainSocketPath.

    Bootstrap.swift:1897
    iOS
    13+
    macOS
    10.15+
    tvOS
    13+
    watchOS
    6+
    func connect<Output>(unixDomainSocketPath: String, channelInitializer: @escaping (Channel) -> EventLoopFuture<Output>) async throws -> Output where Output : Sendable

    Parameters

    unixDomainSocketPath

    The path of the UNIX Domain Socket to connect to. path must not exist, it will be created by the system.

    channelInitializer

    A closure to initialize the channel. The return value of this closure is returned from the connect method.

    Returns

    The result of the channel initializer.

    Other members in extension

    Type members

    Instance members

    Show obsolete interfaces (1)

    Hide obsolete interfaces