Skip to content

Commit 37f9ce1

Browse files
committed
Remove RequiresPreviewFeatures
1 parent 41c5262 commit 37f9ce1

File tree

4 files changed

+0
-10
lines changed

4 files changed

+0
-10
lines changed
Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
// Licensed to the .NET Foundation under one or more agreements.
22
// The .NET Foundation licenses this file to you under the MIT license.
33

4-
using System;
5-
using System.Runtime.Versioning;
6-
74
namespace Microsoft.AspNetCore.Server.Kestrel.Core
85
{
96
/// <summary>
@@ -16,9 +13,7 @@ public enum HttpProtocols
1613
Http1 = 0x1,
1714
Http2 = 0x2,
1815
Http1AndHttp2 = Http1 | Http2,
19-
[RequiresPreviewFeatures("Kestrel HTTP/3 support for .NET 6 is in preview.", Url = "https://aka.ms/aspnet/kestrel/http3reqs")]
2016
Http3 = 0x4,
21-
[RequiresPreviewFeatures("Kestrel HTTP/3 support for .NET 6 is in preview.", Url = "https://aka.ms/aspnet/kestrel/http3reqs")]
2217
Http1AndHttp2AndHttp3 = Http1 | Http2 | Http3
2318
}
2419
}

src/Servers/Kestrel/Transport.Quic/src/Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.csproj

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@
1010
<NoWarn>CA1416;CS1591;CS0436;$(NoWarn)</NoWarn><!-- Conflicts between internal and public Quic APIs; Platform support warnings. -->
1111
<IsPackable>false</IsPackable>
1212
<Nullable>enable</Nullable>
13-
<!-- Turn on preview features so we can use Quic -->
14-
<EnablePreviewFeatures>True</EnablePreviewFeatures>
1513
</PropertyGroup>
1614

1715
<ItemGroup>

src/Servers/Kestrel/Transport.Quic/src/QuicTransportOptions.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Transport.Quic
1212
/// <summary>
1313
/// Options for Quic based connections.
1414
/// </summary>
15-
[RequiresPreviewFeatures("Kestrel HTTP/3 support for .NET 6 is in preview.", Url = "https://aka.ms/aspnet/kestrel/http3reqs")]
1615
public class QuicTransportOptions
1716
{
1817
/// <summary>

src/Servers/Kestrel/Transport.Quic/src/WebHostBuilderQuicExtensions.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ namespace Microsoft.AspNetCore.Hosting
1515
/// </summary>
1616
public static class WebHostBuilderQuicExtensions
1717
{
18-
[RequiresPreviewFeatures("Kestrel HTTP/3 support for .NET 6 is in preview.", Url = "https://aka.ms/aspnet/kestrel/http3reqs")]
1918
public static IWebHostBuilder UseQuic(this IWebHostBuilder hostBuilder)
2019
{
2120
if (QuicImplementationProviders.Default.IsSupported)
@@ -29,7 +28,6 @@ public static IWebHostBuilder UseQuic(this IWebHostBuilder hostBuilder)
2928
return hostBuilder;
3029
}
3130

32-
[RequiresPreviewFeatures("Kestrel HTTP/3 support for .NET 6 is in preview.", Url = "https://aka.ms/aspnet/kestrel/http3reqs")]
3331
public static IWebHostBuilder UseQuic(this IWebHostBuilder hostBuilder, Action<QuicTransportOptions> configureOptions)
3432
{
3533
return hostBuilder.UseQuic().ConfigureServices(services =>

0 commit comments

Comments
 (0)