Dela via


KestrelConfigurationLoader.AnyIPEndpoint Method

Definition

Overloads

AnyIPEndpoint(Int32)

Listens on all IPs using IPv6 [::], or IPv4 0.0.0.0 if IPv6 is not supported.

AnyIPEndpoint(Int32, Action<ListenOptions>)

Listens on all IPs using IPv6 [::], or IPv4 0.0.0.0 if IPv6 is not supported.

AnyIPEndpoint(Int32)

Source:
KestrelConfigurationLoader.cs
Source:
KestrelConfigurationLoader.cs
Source:
KestrelConfigurationLoader.cs

Listens on all IPs using IPv6 [::], or IPv4 0.0.0.0 if IPv6 is not supported.

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

Parameters

port
Int32

Returns

Applies to

AnyIPEndpoint(Int32, Action<ListenOptions>)

Source:
KestrelConfigurationLoader.cs
Source:
KestrelConfigurationLoader.cs
Source:
KestrelConfigurationLoader.cs

Listens on all IPs using IPv6 [::], or IPv4 0.0.0.0 if IPv6 is not supported.

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

Parameters

port
Int32
configure
Action<ListenOptions>

Returns

Applies to