Freigeben über


WebHostBuilderLibuvExtensions.UseLibuv Methode

Definition

Überlädt

UseLibuv(IWebHostBuilder)
Veraltet.

Geben Sie Libuv als Transport an, der von Kestrel verwendet werden soll.

UseLibuv(IWebHostBuilder, Action<LibuvTransportOptions>)
Veraltet.

Geben Sie Libuv als Transport an, der von Kestrel verwendet werden soll.

UseLibuv(IWebHostBuilder)

Quelle:
WebHostBuilderLibuvExtensions.cs
Quelle:
WebHostBuilderLibuvExtensions.cs
Quelle:
WebHostBuilderLibuvExtensions.cs
Quelle:
WebHostBuilderLibuvExtensions.cs
Quelle:
WebHostBuilderLibuvExtensions.cs
Quelle:
WebHostBuilderLibuvExtensions.cs

Achtung

The libuv transport is obsolete and will be removed in a future release. See https://aka.ms/libuvtransport for details.

Geben Sie Libuv als Transport an, der von Kestrel verwendet werden soll.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Hosting::IWebHostBuilder ^ UseLibuv(Microsoft::AspNetCore::Hosting::IWebHostBuilder ^ hostBuilder);
public static Microsoft.AspNetCore.Hosting.IWebHostBuilder UseLibuv (this Microsoft.AspNetCore.Hosting.IWebHostBuilder hostBuilder);
[System.Obsolete("The libuv transport is obsolete and will be removed in a future release. See https://aka.ms/libuvtransport for details.", false)]
public static Microsoft.AspNetCore.Hosting.IWebHostBuilder UseLibuv (this Microsoft.AspNetCore.Hosting.IWebHostBuilder hostBuilder);
static member UseLibuv : Microsoft.AspNetCore.Hosting.IWebHostBuilder -> Microsoft.AspNetCore.Hosting.IWebHostBuilder
[<System.Obsolete("The libuv transport is obsolete and will be removed in a future release. See https://aka.ms/libuvtransport for details.", false)>]
static member UseLibuv : Microsoft.AspNetCore.Hosting.IWebHostBuilder -> Microsoft.AspNetCore.Hosting.IWebHostBuilder
<Extension()>
Public Function UseLibuv (hostBuilder As IWebHostBuilder) As IWebHostBuilder

Parameter

hostBuilder
IWebHostBuilder

Der zu konfigurierende Microsoft.AspNetCore.Hosting.IWebHostBuilder.

Gibt zurück

Der Microsoft.AspNetCore.Hosting.IWebHostBuilder.

Attribute

Gilt für:

UseLibuv(IWebHostBuilder, Action<LibuvTransportOptions>)

Quelle:
WebHostBuilderLibuvExtensions.cs
Quelle:
WebHostBuilderLibuvExtensions.cs
Quelle:
WebHostBuilderLibuvExtensions.cs
Quelle:
WebHostBuilderLibuvExtensions.cs
Quelle:
WebHostBuilderLibuvExtensions.cs
Quelle:
WebHostBuilderLibuvExtensions.cs

Achtung

The libuv transport is obsolete and will be removed in a future release. See https://aka.ms/libuvtransport for details.

Geben Sie Libuv als Transport an, der von Kestrel verwendet werden soll.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Hosting::IWebHostBuilder ^ UseLibuv(Microsoft::AspNetCore::Hosting::IWebHostBuilder ^ hostBuilder, Action<Microsoft::AspNetCore::Server::Kestrel::Transport::Libuv::LibuvTransportOptions ^> ^ configureOptions);
public static Microsoft.AspNetCore.Hosting.IWebHostBuilder UseLibuv (this Microsoft.AspNetCore.Hosting.IWebHostBuilder hostBuilder, Action<Microsoft.AspNetCore.Server.Kestrel.Transport.Libuv.LibuvTransportOptions> configureOptions);
[System.Obsolete("The libuv transport is obsolete and will be removed in a future release. See https://aka.ms/libuvtransport for details.", false)]
public static Microsoft.AspNetCore.Hosting.IWebHostBuilder UseLibuv (this Microsoft.AspNetCore.Hosting.IWebHostBuilder hostBuilder, Action<Microsoft.AspNetCore.Server.Kestrel.Transport.Libuv.LibuvTransportOptions> configureOptions);
static member UseLibuv : Microsoft.AspNetCore.Hosting.IWebHostBuilder * Action<Microsoft.AspNetCore.Server.Kestrel.Transport.Libuv.LibuvTransportOptions> -> Microsoft.AspNetCore.Hosting.IWebHostBuilder
[<System.Obsolete("The libuv transport is obsolete and will be removed in a future release. See https://aka.ms/libuvtransport for details.", false)>]
static member UseLibuv : Microsoft.AspNetCore.Hosting.IWebHostBuilder * Action<Microsoft.AspNetCore.Server.Kestrel.Transport.Libuv.LibuvTransportOptions> -> Microsoft.AspNetCore.Hosting.IWebHostBuilder
<Extension()>
Public Function UseLibuv (hostBuilder As IWebHostBuilder, configureOptions As Action(Of LibuvTransportOptions)) As IWebHostBuilder

Parameter

hostBuilder
IWebHostBuilder

Der zu konfigurierende Microsoft.AspNetCore.Hosting.IWebHostBuilder.

configureOptions
Action<LibuvTransportOptions>

Ein Rückruf zum Konfigurieren von Libuv-Optionen.

Gibt zurück

Der Microsoft.AspNetCore.Hosting.IWebHostBuilder.

Attribute

Gilt für: