KestrelConfigurationLoader.LocalhostEndpoint 메서드

정의

오버로드

LocalhostEndpoint(Int32)

지정된 포트를 사용하여 ::1 및 127.0.0.1에서 수신 대기합니다. 0을 지정하여 동적 포트를 요청하는 것은 이 유형의 엔드포인트에서 지원되지 않습니다.

LocalhostEndpoint(Int32, Action<ListenOptions>)

지정된 포트를 사용하여 ::1 및 127.0.0.1에서 수신 대기합니다. 0을 지정하여 동적 포트를 요청하는 것은 이 유형의 엔드포인트에서 지원되지 않습니다.

LocalhostEndpoint(Int32)

Source:
KestrelConfigurationLoader.cs
Source:
KestrelConfigurationLoader.cs

지정된 포트를 사용하여 ::1 및 127.0.0.1에서 수신 대기합니다. 0을 지정하여 동적 포트를 요청하는 것은 이 유형의 엔드포인트에서 지원되지 않습니다.

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

매개 변수

port
Int32

반환

적용 대상

LocalhostEndpoint(Int32, Action<ListenOptions>)

Source:
KestrelConfigurationLoader.cs
Source:
KestrelConfigurationLoader.cs

지정된 포트를 사용하여 ::1 및 127.0.0.1에서 수신 대기합니다. 0을 지정하여 동적 포트를 요청하는 것은 이 유형의 엔드포인트에서 지원되지 않습니다.

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

매개 변수

port
Int32
configure
Action<ListenOptions>

반환

적용 대상