KestrelServer Class

Namespace
Microsoft.AspNetCore.Server.Kestrel
Assemblies
  • Microsoft.AspNetCore.Server.Kestrel

Syntax

public class KestrelServer : IServer, IDisposable
class Microsoft.AspNetCore.Server.Kestrel.KestrelServer

Constructors

KestrelServer(Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Server.Kestrel.KestrelServerOptions>, Microsoft.AspNetCore.Hosting.IApplicationLifetime, Microsoft.Extensions.Logging.ILoggerFactory)
public KestrelServer(IOptions<KestrelServerOptions> options, IApplicationLifetime applicationLifetime, ILoggerFactory loggerFactory)

Methods

Dispose()
public void Dispose()
Start<TContext>(Microsoft.AspNetCore.Hosting.Server.IHttpApplication<TContext>)
public void Start<TContext>(IHttpApplication<TContext> application)

Properties

Microsoft.AspNetCore.Server.Kestrel.KestrelServer.Features
Return type:Microsoft.AspNetCore.Http.Features.IFeatureCollection
public IFeatureCollection Features { get; }
Microsoft.AspNetCore.Server.Kestrel.KestrelServer.Options
Return type:Microsoft.AspNetCore.Server.Kestrel.KestrelServerOptions
public KestrelServerOptions Options { get; }