connect(to:file:line:)

Connect to a SocketAddress.

ChannelInvoker.swift:138
func connect(to address: SocketAddress, file: StaticString = #fileID, line: UInt = #line) -> EventLoopFuture<Void>

Parameters

address

the SocketAddress to which we should connect the Channel.

file

The file this function was called in, for debugging purposes.

line

The line this function was called on, for debugging purposes.

Returns

the future which will be notified once the operation completes.