KestrelConfigurationLoader.AnyIPEndpoint Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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)
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>)
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>