Share via


KestrelServerOptionsSystemdExtensions.UseSystemd Method

Definition

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)

Source:
KestrelServerOptionsSystemdExtensions.cs
Source:
KestrelServerOptionsSystemdExtensions.cs
Source:
KestrelServerOptionsSystemdExtensions.cs

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

Returns

The KestrelServerOptions.

Applies to

UseSystemd(KestrelServerOptions, Action<ListenOptions>)

Source:
KestrelServerOptionsSystemdExtensions.cs
Source:
KestrelServerOptionsSystemdExtensions.cs
Source:
KestrelServerOptionsSystemdExtensions.cs

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

configure
Action<ListenOptions>

Returns

The KestrelServerOptions.

Applies to