bind(to:serverBackPressureStrategy:childChannelInitializer:)

    Bind the ServerSocketChannel to the address parameter.

    Bootstrap.swift:546
    iOS
    13+
    macOS
    10.15+
    tvOS
    13+
    watchOS
    6+
    func bind<Output>(to address: SocketAddress, serverBackPressureStrategy: NIOAsyncSequenceProducerBackPressureStrategies.HighLowWatermark? = nil, childChannelInitializer: @escaping (Channel) -> EventLoopFuture<Output>) async throws -> NIOAsyncChannel<Output, Never> where Output : Sendable

    Parameters

    address

    The SocketAddress to bind on.

    serverBackPressureStrategy

    The back pressure strategy used by the server socket channel.

    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