Dela via


WebHostBuilderMsQuicExtensions.UseQuic Method

Definition

Overloads

UseQuic(IWebHostBuilder)
UseQuic(IWebHostBuilder, Action<QuicTransportOptions>)

UseQuic(IWebHostBuilder)

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

Parameters

hostBuilder
IWebHostBuilder

Returns

Applies to

UseQuic(IWebHostBuilder, Action<QuicTransportOptions>)

Source:
WebHostBuilderMsQuicExtensions.cs
public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Hosting::IWebHostBuilder ^ UseQuic(Microsoft::AspNetCore::Hosting::IWebHostBuilder ^ hostBuilder, Action<Microsoft::AspNetCore::Server::Kestrel::Transport::Experimental::Quic::QuicTransportOptions ^> ^ configureOptions);
public static Microsoft.AspNetCore.Hosting.IWebHostBuilder UseQuic (this Microsoft.AspNetCore.Hosting.IWebHostBuilder hostBuilder, Action<Microsoft.AspNetCore.Server.Kestrel.Transport.Experimental.Quic.QuicTransportOptions> configureOptions);
static member UseQuic : Microsoft.AspNetCore.Hosting.IWebHostBuilder * Action<Microsoft.AspNetCore.Server.Kestrel.Transport.Experimental.Quic.QuicTransportOptions> -> Microsoft.AspNetCore.Hosting.IWebHostBuilder
<Extension()>
Public Function UseQuic (hostBuilder As IWebHostBuilder, configureOptions As Action(Of QuicTransportOptions)) As IWebHostBuilder

Parameters

hostBuilder
IWebHostBuilder
configureOptions
Action<QuicTransportOptions>

Returns

Applies to