Method StopIfEmpty(string, int, CancellationToken)

Assembly: redb.Route.Http.Hosting.dll

Stops the server for the given host:port if it has no remaining routes.

public Task StopIfEmpty(string host, int port, CancellationToken ct = default)