Instance Method
start(address:)
Start the server with the specified address.
func start(address: BindAddress?) async throws
Parameters
addressThe address to start the server with.
Default Implementations
Server Implementations
func start(address: BindAddress?) async throwsA default implementation for those servers that haven’t migrated yetfunc start(address: BindAddress?) throwsA default implementation that throwsServerStartError.unsupportedAddressfor.unixDomainSocket(path:)ifstart(address:)is not implemented by the conforming type, or calls the deprecated.start(hostname:port:)method for other cases.