KestrelConfigurationLoader Class
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.
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) |
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. |
Endpoint(IPAddress, Int32) |
Bind to given IP address and port. |
Endpoint(IPAddress, Int32, Action<ListenOptions>) |
Bind to given IP address and port. |
Endpoint(IPEndPoint) |
Bind to given IP endpoint. |
Endpoint(IPEndPoint, Action<ListenOptions>) |
Bind to given IP address and port. |
Endpoint(String, Action<EndpointConfiguration>) |
Specifies a configuration Action to run when an endpoint with the given name is loaded from configuration. |
HandleEndpoint(UInt64) |
Open a socket file descriptor. |
HandleEndpoint(UInt64, Action<ListenOptions>) |
Open a socket file descriptor. |
Load() |
Loads the configuration. Does nothing if it has previously been invoked (including implicitly). |
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. |
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. |
UnixSocketEndpoint(String) |
Bind to given Unix domain socket path. |
UnixSocketEndpoint(String, Action<ListenOptions>) |
Bind to given Unix domain socket path. |