KestrelConfigurationLoader 類別

定義

Kestrel 的組態載入器。

public ref class KestrelConfigurationLoader
public class KestrelConfigurationLoader
type KestrelConfigurationLoader = class
Public Class KestrelConfigurationLoader
繼承
KestrelConfigurationLoader

屬性

Configuration

取得應用程式 IConfiguration

Options

取得 KestrelServerOptions

方法

AnyIPEndpoint(Int32)

如果不支援 IPv6,請使用 IPv6 [::],或 IPv4 0.0.0.0 接聽所有 IP。

AnyIPEndpoint(Int32, Action<ListenOptions>)

如果不支援 IPv6,請使用 IPv6 [::],或 IPv4 0.0.0.0 接聽所有 IP。

Endpoint(IPAddress, Int32)

系結至指定的 IP 位址和埠。

Endpoint(IPAddress, Int32, Action<ListenOptions>)

系結至指定的 IP 位址和埠。

Endpoint(IPEndPoint)

系結至指定的 IP 端點。

Endpoint(IPEndPoint, Action<ListenOptions>)

系結至指定的 IP 位址和埠。

Endpoint(String, Action<EndpointConfiguration>)

指定從組態載入具有指定名稱的端點時所要執行的組態動作。

HandleEndpoint(UInt64)

開啟通訊端檔案描述元。

HandleEndpoint(UInt64, Action<ListenOptions>)

開啟通訊端檔案描述元。

Load()

載入組態。 如果先前已叫用,則不會執行任何動作, (包括隱含) 。

LocalhostEndpoint(Int32)

使用指定的埠接聽 ::1 和 127.0.0.1。 此端點類型不支援指定 0 來要求動態埠。

LocalhostEndpoint(Int32, Action<ListenOptions>)

使用指定的埠接聽 ::1 和 127.0.0.1。 此端點類型不支援指定 0 來要求動態埠。

UnixSocketEndpoint(String)

系結至指定的 Unix 網域通訊端路徑。

UnixSocketEndpoint(String, Action<ListenOptions>)

系結至指定的 Unix 網域通訊端路徑。

適用於