IServer 介面

定義

表示伺服器。

public interface class IServer : IDisposable
public interface IServer : IDisposable
type IServer = interface
    interface IDisposable
Public Interface IServer
Implements IDisposable
衍生
實作

屬性

Features

伺服器的 HTTP 功能集合。

方法

Start<TContext>(IHttpApplication<TContext>)

使用應用程式啟動伺服器。

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

使用應用程式啟動伺服器。

StopAsync(CancellationToken)

請盡可能停止處理要求並關閉伺服器。

適用於