public protocol Server
Servers are capable of binding to an address and subsequently responding to requests sent to that address.
Upon starting, the
Servermust set the application’s
func start(hostname: String?, port: Int?) -> Future<Void>
Optional hostname override. If set, the server should bind to this hostname instead of its configured hostname.
Optional port override. If set, the server should bind to this port instead of its configured port.
A future notification that will complete when the
Serverhas started successfully.