KestrelServerOptionsSystemdExtensions.UseSystemd 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
UseSystemd(KestrelServerOptions) |
Open file descriptors (starting from SD_LISTEN_FDS_START) initialized by systemd socket-based activation logic if available. |
UseSystemd(KestrelServerOptions, Action<ListenOptions>) |
Open file descriptors (starting from SD_LISTEN_FDS_START) initialized by systemd socket-based activation logic if available. Specify callback to configure endpoint-specific settings. |
UseSystemd(KestrelServerOptions)
Open file descriptors (starting from SD_LISTEN_FDS_START) initialized by systemd socket-based activation logic if available.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::AspNetCore::Server::Kestrel::Core::KestrelServerOptions ^ UseSystemd(Microsoft::AspNetCore::Server::Kestrel::Core::KestrelServerOptions ^ options);
public static Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerOptions UseSystemd (this Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerOptions options);
static member UseSystemd : Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerOptions -> Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerOptions
<Extension()>
Public Function UseSystemd (options As KestrelServerOptions) As KestrelServerOptions
Parameters
- options
- KestrelServerOptions
Returns
The KestrelServerOptions.
Applies to
UseSystemd(KestrelServerOptions, Action<ListenOptions>)
Open file descriptors (starting from SD_LISTEN_FDS_START) initialized by systemd socket-based activation logic if available. Specify callback to configure endpoint-specific settings.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::AspNetCore::Server::Kestrel::Core::KestrelServerOptions ^ UseSystemd(Microsoft::AspNetCore::Server::Kestrel::Core::KestrelServerOptions ^ options, Action<Microsoft::AspNetCore::Server::Kestrel::Core::ListenOptions ^> ^ configure);
public static Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerOptions UseSystemd (this Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerOptions options, Action<Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions> configure);
static member UseSystemd : Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerOptions * Action<Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions> -> Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerOptions
<Extension()>
Public Function UseSystemd (options As KestrelServerOptions, configure As Action(Of ListenOptions)) As KestrelServerOptions
Parameters
- options
- KestrelServerOptions
- configure
- Action<ListenOptions>
Returns
The KestrelServerOptions.