Compartilhar via


WebHostBuilderLibuvExtensions.UseLibuv Método

Definição

Sobrecargas

UseLibuv(IWebHostBuilder)
Obsoleto.

Especifique Libuv como o transporte a ser usado pelo Kestrel.

UseLibuv(IWebHostBuilder, Action<LibuvTransportOptions>)
Obsoleto.

Especifique Libuv como o transporte a ser usado pelo Kestrel.

UseLibuv(IWebHostBuilder)

Origem:
WebHostBuilderLibuvExtensions.cs
Origem:
WebHostBuilderLibuvExtensions.cs
Origem:
WebHostBuilderLibuvExtensions.cs
Origem:
WebHostBuilderLibuvExtensions.cs
Origem:
WebHostBuilderLibuvExtensions.cs
Origem:
WebHostBuilderLibuvExtensions.cs

Cuidado

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

Especifique Libuv como o transporte a ser usado pelo 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

Parâmetros

hostBuilder
IWebHostBuilder

O Microsoft.AspNetCore.Hosting.IWebHostBuilder a ser configurado.

Retornos

O Microsoft.AspNetCore.Hosting.IWebHostBuilder.

Atributos

Aplica-se a

UseLibuv(IWebHostBuilder, Action<LibuvTransportOptions>)

Origem:
WebHostBuilderLibuvExtensions.cs
Origem:
WebHostBuilderLibuvExtensions.cs
Origem:
WebHostBuilderLibuvExtensions.cs
Origem:
WebHostBuilderLibuvExtensions.cs
Origem:
WebHostBuilderLibuvExtensions.cs
Origem:
WebHostBuilderLibuvExtensions.cs

Cuidado

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

Especifique Libuv como o transporte a ser usado pelo 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

Parâmetros

hostBuilder
IWebHostBuilder

O Microsoft.AspNetCore.Hosting.IWebHostBuilder a ser configurado.

configureOptions
Action<LibuvTransportOptions>

Um retorno de chamada para configurar as opções do Libuv.

Retornos

O Microsoft.AspNetCore.Hosting.IWebHostBuilder.

Atributos

Aplica-se a