Required Instance Methodswift-nio 2.72.0NIOCore

    connect(host:port:)

    Specify the host and port to connect to for the TCP Channel that will be established.

    UniversalBootstrapSupport.swift:71
    func connect(host: String, port: Int) -> EventLoopFuture<Channel>

    Parameters

    host

    The host to connect to.

    port

    The port to connect to.

    Returns

    An EventLoopFuture<Channel> to deliver the Channel when connected.

    Other requirements

    Instance members

    Show implementation details (1)

    Hide implementation details