Skip to content

Instance Method

start(address:)

Start the server with the specified address.
func start(address: BindAddress?) async throws

Parameters

address

The address to start the server with.

Default Implementations

Server Implementations

  • start(address:)
    A default implementation for those servers that haven’t migrated yet
  • start(address:)
    A default implementation that throws ServerStartError.unsupportedAddress for .unixDomainSocket(path:) if start(address:) is not implemented by the conforming type, or calls the deprecated .start(hostname:port:) method for other cases.