connect(host:port:)

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

    UniversalBootstrapSupport.swift:233
    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 members in extension

    Type members

    Instance members