KestrelServer Класс

Определение

Сервер Kestrel.

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
Наследование
KestrelServer
Реализации

Конструкторы

KestrelServer(IOptions<KestrelServerOptions>, IConnectionListenerFactory, ILoggerFactory)

Инициализирует новый экземпляр KestrelServer.

KestrelServer(IOptions<KestrelServerOptions>, ITransportFactory, ILoggerFactory)

Сервер Kestrel.

Свойства

Features

Коллекция функций HTTP сервера.

Options

Возвращает набор KestrelServerOptions.

Методы

Dispose()

Сервер Kestrel.

StartAsync<TContext>(IHttpApplication<TContext>, CancellationToken)

Запустите сервер с помощью приложения.

StopAsync(CancellationToken)

По возможности остановите обработку запросов и завершите работу сервера.

Применяется к