KestrelConfigurationLoader Class

Definition

Configuration loader for Kestrel.

public ref class KestrelConfigurationLoader
public class KestrelConfigurationLoader
type KestrelConfigurationLoader = class
Public Class KestrelConfigurationLoader
Inheritance
KestrelConfigurationLoader

Properties

Configuration

Gets the application IConfiguration.

Options

Gets the KestrelServerOptions.

Methods

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.

Endpoint(IPAddress, Int32, Action<ListenOptions>)

Bind to given IP address and port.

Endpoint(IPAddress, Int32)

Bind to given IP address and port.

Endpoint(IPEndPoint, Action<ListenOptions>)

Bind to given IP address and port.

Endpoint(IPEndPoint)

Bind to given IP endpoint.

Endpoint(String, Action<EndpointConfiguration>)

Specifies a configuration Action to run when an endpoint with the given name is loaded from configuration.

HandleEndpoint(UInt64, Action<ListenOptions>)

Open a socket file descriptor.

HandleEndpoint(UInt64)

Open a socket file descriptor.

Load()

Loads the configuration. Does nothing if it has previously been invoked (including implicitly).

LocalhostEndpoint(Int32, Action<ListenOptions>)

Listens on ::1 and 127.0.0.1 with the given port. Requesting a dynamic port by specifying 0 is not supported for this type of endpoint.

LocalhostEndpoint(Int32)

Listens on ::1 and 127.0.0.1 with the given port. Requesting a dynamic port by specifying 0 is not supported for this type of endpoint.

NamedPipeEndpoint(String, Action<ListenOptions>)

Bind to given named pipe.

NamedPipeEndpoint(String)

Bind to given named pipe.

UnixSocketEndpoint(String, Action<ListenOptions>)

Bind to given Unix domain socket path.

UnixSocketEndpoint(String)

Bind to given Unix domain socket path.

Applies to