start(hostname:port:)
Start the server with the specified hostname and port, if provided. If left blank, the server will be started with its default configuration.
This declaration has been renamed to start(address:).
This declaration is deprecated: Please use `start(address: .hostname(hostname, port: port))` instead
func start(hostname: String?, port: Int?) throws
Parameters
Deprecated: Please use
start(address: .hostname(hostname, port: port))
instead.