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)

요청 처리를 중지하고 가능하면 정상적으로 서버를 종료합니다.

적용 대상