KestrelServer Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Kestrel server.
public ref class KestrelServer : IDisposable, Microsoft::AspNetCore::Hosting::Server::IServer
public class KestrelServer : IDisposable, Microsoft.AspNetCore.Hosting.Server.IServer
type KestrelServer = class
interface IServer
interface IDisposable
Public Class KestrelServer
Implements IDisposable, IServer
- Inheritance
-
KestrelServer
- Implements
Constructors
Properties
Features |
A collection of HTTP features of the server. |
Options |
Gets the KestrelServerOptions. |
Methods
Dispose() | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. |
StartAsync<TContext>(IHttpApplication<TContext>, CancellationToken) |
Start the server with an application. |
StopAsync(CancellationToken) |
Stop processing requests and shut down the server, gracefully if possible. |