WebHostBuilderLibuvExtensions.UseLibuv Method

Definition

Overloads

UseLibuv(IWebHostBuilder)

Specify Libuv as the transport to be used by Kestrel.

UseLibuv(IWebHostBuilder, Action<LibuvTransportOptions>)

Specify Libuv as the transport to be used by Kestrel.

UseLibuv(IWebHostBuilder)

Specify Libuv as the transport to be used by 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);
static member UseLibuv : Microsoft.AspNetCore.Hosting.IWebHostBuilder -> Microsoft.AspNetCore.Hosting.IWebHostBuilder
<Extension()>
Public Function UseLibuv (hostBuilder As IWebHostBuilder) As IWebHostBuilder

Parameters

hostBuilder
IWebHostBuilder

The Microsoft.AspNetCore.Hosting.IWebHostBuilder to configure.

Returns

IWebHostBuilder

The Microsoft.AspNetCore.Hosting.IWebHostBuilder.

UseLibuv(IWebHostBuilder, Action<LibuvTransportOptions>)

Specify Libuv as the transport to be used by 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);
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

Parameters

hostBuilder
IWebHostBuilder

The Microsoft.AspNetCore.Hosting.IWebHostBuilder to configure.

configureOptions
Action<LibuvTransportOptions>

A callback to configure Libuv options.

Returns

IWebHostBuilder

The Microsoft.AspNetCore.Hosting.IWebHostBuilder.

Applies to