Sdílet prostřednictvím


WebHostBuilderLibuvExtensions.UseLibuv Metoda

Definice

Přetížení

UseLibuv(IWebHostBuilder)
Zastaralé.

Jako přenos, který má používat Kestrel, zadejte Libuv.

UseLibuv(IWebHostBuilder, Action<LibuvTransportOptions>)
Zastaralé.

Jako přenos, který má používat Kestrel, zadejte Libuv.

UseLibuv(IWebHostBuilder)

Zdroj:
WebHostBuilderLibuvExtensions.cs
Zdroj:
WebHostBuilderLibuvExtensions.cs
Zdroj:
WebHostBuilderLibuvExtensions.cs
Zdroj:
WebHostBuilderLibuvExtensions.cs
Zdroj:
WebHostBuilderLibuvExtensions.cs
Zdroj:
WebHostBuilderLibuvExtensions.cs

Upozornění

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

Jako přenos, který má používat Kestrel, zadejte Libuv.

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

Parametry

hostBuilder
IWebHostBuilder

Microsoft.AspNetCore.Hosting.IWebHostBuilder ke konfiguraci.

Návraty

The Microsoft.AspNetCore.Hosting.IWebHostBuilder.

Atributy

Platí pro

UseLibuv(IWebHostBuilder, Action<LibuvTransportOptions>)

Zdroj:
WebHostBuilderLibuvExtensions.cs
Zdroj:
WebHostBuilderLibuvExtensions.cs
Zdroj:
WebHostBuilderLibuvExtensions.cs
Zdroj:
WebHostBuilderLibuvExtensions.cs
Zdroj:
WebHostBuilderLibuvExtensions.cs
Zdroj:
WebHostBuilderLibuvExtensions.cs

Upozornění

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

Jako přenos, který má používat Kestrel, zadejte Libuv.

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

Parametry

hostBuilder
IWebHostBuilder

Microsoft.AspNetCore.Hosting.IWebHostBuilder ke konfiguraci.

configureOptions
Action<LibuvTransportOptions>

Zpětné volání pro konfiguraci možností knihovny Libuv.

Návraty

The Microsoft.AspNetCore.Hosting.IWebHostBuilder.

Atributy

Platí pro