WebHostBuilderSocketExtensions.UseSockets Yöntem

Tanım

Aşırı Yüklemeler

UseSockets(IWebHostBuilder)

Kestrel tarafından kullanılacak taşıma olarak yuvaları belirtin.

UseSockets(IWebHostBuilder, Action<SocketTransportOptions>)

Kestrel tarafından kullanılacak taşıma olarak yuvaları belirtin.

UseSockets(IWebHostBuilder)

Kestrel tarafından kullanılacak taşıma olarak yuvaları belirtin.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Hosting::IWebHostBuilder ^ UseSockets(Microsoft::AspNetCore::Hosting::IWebHostBuilder ^ hostBuilder);
public static Microsoft.AspNetCore.Hosting.IWebHostBuilder UseSockets (this Microsoft.AspNetCore.Hosting.IWebHostBuilder hostBuilder);
static member UseSockets : Microsoft.AspNetCore.Hosting.IWebHostBuilder -> Microsoft.AspNetCore.Hosting.IWebHostBuilder
<Extension()>
Public Function UseSockets (hostBuilder As IWebHostBuilder) As IWebHostBuilder

Parametreler

hostBuilder
IWebHostBuilder

Yapılandırılacak Microsoft. AspNetCore. Hosting. ıwebhostbuilder.

Döndürülenler

IWebHostBuilder

Microsoft. AspNetCore. Hosting. ıwebhostbuilder.

Şunlara uygulanır

UseSockets(IWebHostBuilder, Action<SocketTransportOptions>)

Kestrel tarafından kullanılacak taşıma olarak yuvaları belirtin.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Hosting::IWebHostBuilder ^ UseSockets(Microsoft::AspNetCore::Hosting::IWebHostBuilder ^ hostBuilder, Action<Microsoft::AspNetCore::Server::Kestrel::Transport::Sockets::SocketTransportOptions ^> ^ configureOptions);
public static Microsoft.AspNetCore.Hosting.IWebHostBuilder UseSockets (this Microsoft.AspNetCore.Hosting.IWebHostBuilder hostBuilder, Action<Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketTransportOptions> configureOptions);
static member UseSockets : Microsoft.AspNetCore.Hosting.IWebHostBuilder * Action<Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketTransportOptions> -> Microsoft.AspNetCore.Hosting.IWebHostBuilder
<Extension()>
Public Function UseSockets (hostBuilder As IWebHostBuilder, configureOptions As Action(Of SocketTransportOptions)) As IWebHostBuilder

Parametreler

hostBuilder
IWebHostBuilder

Yapılandırılacak Microsoft. AspNetCore. Hosting. ıwebhostbuilder.

configureOptions
Action<SocketTransportOptions>

Libuv seçeneklerini yapılandırmak için bir geri çağırma.

Döndürülenler

IWebHostBuilder

Microsoft. AspNetCore. Hosting. ıwebhostbuilder.

Şunlara uygulanır