KestrunHostManager.StopAsync method
Stops the specified KestrunHost instance asynchronously.
public static Task StopAsync(string name, CancellationToken ct = default)
parameter | description |
---|---|
name | The name of the KestrunHost instance to stop. |
ct | A cancellation token to observe while waiting for the task to complete. |
See Also
- class KestrunHostManager
- namespace Kestrun