We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba7d5f5 commit dcbc177Copy full SHA for dcbc177
src/Servers/Kestrel/samples/Http3SampleApp/Program.cs
@@ -107,6 +107,7 @@ public static void Main(string[] args)
107
// Port configured for WebTransport
108
options.Listen(IPAddress.Any, 5007, listenOptions =>
109
{
110
+ AppContext.SetSwitch("Microsoft.AspNetCore.Server.Kestrel.Experimental.WebTransportAndH3Datagrams", true);
111
listenOptions.UseHttps(GenerateManualCertificate());
112
listenOptions.UseConnectionLogging();
113
listenOptions.Protocols = HttpProtocols.Http1AndHttp2AndHttp3;
0 commit comments