bind(to:file:line:)

Bind to a SocketAddress.

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

Parameters

address

the SocketAddress to which we should bind 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.