Udostępnij za pośrednictwem


WebHostBuilderLibuvExtensions.UseLibuv Metoda

Definicja

Przeciążenia

UseLibuv(IWebHostBuilder)
Przestarzałe.

Określ Libuv jako transport do użycia przez Kestrel.

UseLibuv(IWebHostBuilder, Action<LibuvTransportOptions>)
Przestarzałe.

Określ Libuv jako transport do użycia przez Kestrel.

UseLibuv(IWebHostBuilder)

Źródło:
WebHostBuilderLibuvExtensions.cs
Źródło:
WebHostBuilderLibuvExtensions.cs
Źródło:
WebHostBuilderLibuvExtensions.cs
Źródło:
WebHostBuilderLibuvExtensions.cs
Źródło:
WebHostBuilderLibuvExtensions.cs
Źródło:
WebHostBuilderLibuvExtensions.cs

Przestroga

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

Określ Libuv jako transport do użycia przez Kestrel.

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

Program Microsoft.AspNetCore.Hosting.IWebHostBuilder do skonfigurowania.

Zwraca

The Microsoft.AspNetCore.Hosting.IWebHostBuilder.

Atrybuty

Dotyczy

UseLibuv(IWebHostBuilder, Action<LibuvTransportOptions>)

Źródło:
WebHostBuilderLibuvExtensions.cs
Źródło:
WebHostBuilderLibuvExtensions.cs
Źródło:
WebHostBuilderLibuvExtensions.cs
Źródło:
WebHostBuilderLibuvExtensions.cs
Źródło:
WebHostBuilderLibuvExtensions.cs
Źródło:
WebHostBuilderLibuvExtensions.cs

Przestroga

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

Określ Libuv jako transport do użycia przez Kestrel.

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

Program Microsoft.AspNetCore.Hosting.IWebHostBuilder do skonfigurowania.

configureOptions
Action<LibuvTransportOptions>

Wywołanie zwrotne do skonfigurowania opcji Libuv.

Zwraca

The Microsoft.AspNetCore.Hosting.IWebHostBuilder.

Atrybuty

Dotyczy