Sdílet prostřednictvím


KestrelConfigurationLoader.LocalhostEndpoint Metoda

Definice

Přetížení

LocalhostEndpoint(Int32)

Naslouchá na ::1 a 127.0.0.1 s daným portem. Vyžádání dynamického portu zadáním hodnoty 0 se pro tento typ koncového bodu nepodporuje.

LocalhostEndpoint(Int32, Action<ListenOptions>)

Naslouchá na ::1 a 127.0.0.1 s daným portem. Vyžádání dynamického portu zadáním hodnoty 0 se pro tento typ koncového bodu nepodporuje.

LocalhostEndpoint(Int32)

Zdroj:
KestrelConfigurationLoader.cs
Zdroj:
KestrelConfigurationLoader.cs
Zdroj:
KestrelConfigurationLoader.cs

Naslouchá na ::1 a 127.0.0.1 s daným portem. Vyžádání dynamického portu zadáním hodnoty 0 se pro tento typ koncového bodu nepodporuje.

public:
 Microsoft::AspNetCore::Server::Kestrel::KestrelConfigurationLoader ^ LocalhostEndpoint(int port);
public Microsoft.AspNetCore.Server.Kestrel.KestrelConfigurationLoader LocalhostEndpoint (int port);
member this.LocalhostEndpoint : int -> Microsoft.AspNetCore.Server.Kestrel.KestrelConfigurationLoader
Public Function LocalhostEndpoint (port As Integer) As KestrelConfigurationLoader

Parametry

port
Int32

Návraty

Platí pro

LocalhostEndpoint(Int32, Action<ListenOptions>)

Zdroj:
KestrelConfigurationLoader.cs
Zdroj:
KestrelConfigurationLoader.cs
Zdroj:
KestrelConfigurationLoader.cs

Naslouchá na ::1 a 127.0.0.1 s daným portem. Vyžádání dynamického portu zadáním hodnoty 0 se pro tento typ koncového bodu nepodporuje.

public:
 Microsoft::AspNetCore::Server::Kestrel::KestrelConfigurationLoader ^ LocalhostEndpoint(int port, Action<Microsoft::AspNetCore::Server::Kestrel::Core::ListenOptions ^> ^ configure);
public Microsoft.AspNetCore.Server.Kestrel.KestrelConfigurationLoader LocalhostEndpoint (int port, Action<Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions> configure);
member this.LocalhostEndpoint : int * Action<Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions> -> Microsoft.AspNetCore.Server.Kestrel.KestrelConfigurationLoader
Public Function LocalhostEndpoint (port As Integer, configure As Action(Of ListenOptions)) As KestrelConfigurationLoader

Parametry

port
Int32
configure
Action<ListenOptions>

Návraty

Platí pro