KestrelServerOptions.Listen KestrelServerOptions.Listen KestrelServerOptions.Listen Method

Definition

Overloads

Listen(IPAddress, Int32, Action<ListenOptions>) Listen(IPAddress, Int32, Action<ListenOptions>) Listen(IPAddress, Int32, Action<ListenOptions>)

Bind to given IP address and port. The callback configures endpoint-specific settings.

Listen(IPEndPoint, Action<ListenOptions>) Listen(IPEndPoint, Action<ListenOptions>) Listen(IPEndPoint, Action<ListenOptions>)

Bind to given IP address and port. The callback configures endpoint-specific settings.

Listen(IPEndPoint) Listen(IPEndPoint) Listen(IPEndPoint)

Bind to given IP endpoint.

Listen(IPAddress, Int32) Listen(IPAddress, Int32) Listen(IPAddress, Int32)

Bind to given IP address and port.

Listen(IPAddress, Int32, Action<ListenOptions>) Listen(IPAddress, Int32, Action<ListenOptions>) Listen(IPAddress, Int32, Action<ListenOptions>)

Bind to given IP address and port. The callback configures endpoint-specific settings.

public void Listen (System.Net.IPAddress address, int port, Action<Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions> configure);
member this.Listen : System.Net.IPAddress * int * Action<Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions> -> unit
Public Sub Listen (address As IPAddress, port As Integer, configure As Action(Of ListenOptions))

Parameters

configure
Action<ListenOptions>

Listen(IPEndPoint, Action<ListenOptions>) Listen(IPEndPoint, Action<ListenOptions>) Listen(IPEndPoint, Action<ListenOptions>)

Bind to given IP address and port. The callback configures endpoint-specific settings.

public void Listen (System.Net.IPEndPoint endPoint, Action<Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions> configure);
member this.Listen : System.Net.IPEndPoint * Action<Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions> -> unit
Public Sub Listen (endPoint As IPEndPoint, configure As Action(Of ListenOptions))

Parameters

configure
Action<ListenOptions>

Listen(IPEndPoint) Listen(IPEndPoint) Listen(IPEndPoint)

Bind to given IP endpoint.

public void Listen (System.Net.IPEndPoint endPoint);
member this.Listen : System.Net.IPEndPoint -> unit
Public Sub Listen (endPoint As IPEndPoint)

Parameters

Listen(IPAddress, Int32) Listen(IPAddress, Int32) Listen(IPAddress, Int32)

Bind to given IP address and port.

public void Listen (System.Net.IPAddress address, int port);
member this.Listen : System.Net.IPAddress * int -> unit
Public Sub Listen (address As IPAddress, port As Integer)

Parameters

Applies to