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)
-
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; }
-