WebHostBuilderLibuvExtensions.UseLibuv Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Sobrecargas
UseLibuv(IWebHostBuilder) |
Obsoletos.
Especifique Libuv como el transporte que va a utilizar Kestrel. |
UseLibuv(IWebHostBuilder, Action<LibuvTransportOptions>) |
Obsoletos.
Especifique Libuv como el transporte que va a utilizar Kestrel. |
UseLibuv(IWebHostBuilder)
Precaución
The libuv transport is obsolete and will be removed in a future release. See https://aka.ms/libuvtransport for details.
Especifique Libuv como el transporte que va a utilizar 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
Microsoft.AspNetCore.Hosting.IWebHostBuilder que se va a configurar.
Devoluciones
The Microsoft.AspNetCore.Hosting.IWebHostBuilder.
- Atributos
Se aplica a
UseLibuv(IWebHostBuilder, Action<LibuvTransportOptions>)
Precaución
The libuv transport is obsolete and will be removed in a future release. See https://aka.ms/libuvtransport for details.
Especifique Libuv como el transporte que va a utilizar 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
Microsoft.AspNetCore.Hosting.IWebHostBuilder que se va a configurar.
- configureOptions
- Action<LibuvTransportOptions>
Devolución de llamada para configurar las opciones de Libuv.
Devoluciones
The Microsoft.AspNetCore.Hosting.IWebHostBuilder.
- Atributos