Поделиться через


WebHostBuilderLibuvExtensions.UseLibuv Метод

Определение

Перегрузки

UseLibuv(IWebHostBuilder)
Устаревшие..

Укажите Libuv в качестве транспорта, используемого Kestrel.

UseLibuv(IWebHostBuilder, Action<LibuvTransportOptions>)
Устаревшие..

Укажите Libuv в качестве транспорта, используемого Kestrel.

UseLibuv(IWebHostBuilder)

Исходный код:
WebHostBuilderLibuvExtensions.cs
Исходный код:
WebHostBuilderLibuvExtensions.cs
Исходный код:
WebHostBuilderLibuvExtensions.cs
Исходный код:
WebHostBuilderLibuvExtensions.cs
Исходный код:
WebHostBuilderLibuvExtensions.cs
Исходный код:
WebHostBuilderLibuvExtensions.cs

Внимание!

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

Укажите Libuv в качестве транспорта, используемого 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

Параметры

hostBuilder
IWebHostBuilder

Microsoft.AspNetCore.Hosting.IWebHostBuilder для настройки.

Возвращаемое значение

The Microsoft.AspNetCore.Hosting.IWebHostBuilder.

Атрибуты

Применяется к

UseLibuv(IWebHostBuilder, Action<LibuvTransportOptions>)

Исходный код:
WebHostBuilderLibuvExtensions.cs
Исходный код:
WebHostBuilderLibuvExtensions.cs
Исходный код:
WebHostBuilderLibuvExtensions.cs
Исходный код:
WebHostBuilderLibuvExtensions.cs
Исходный код:
WebHostBuilderLibuvExtensions.cs
Исходный код:
WebHostBuilderLibuvExtensions.cs

Внимание!

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

Укажите Libuv в качестве транспорта, используемого 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

Параметры

hostBuilder
IWebHostBuilder

Microsoft.AspNetCore.Hosting.IWebHostBuilder для настройки.

configureOptions
Action<LibuvTransportOptions>

Обратный вызов для настройки параметров Libuv.

Возвращаемое значение

The Microsoft.AspNetCore.Hosting.IWebHostBuilder.

Атрибуты

Применяется к