We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bb46c9a commit d12daa0Copy full SHA for d12daa0
src/Program.cs
@@ -4,6 +4,11 @@
4
5
builder.Services.AddGrpc(options => options.EnableDetailedErrors = true);
6
7
+builder.WebHost.ConfigureKestrel(serverOptions =>
8
+ serverOptions.ListenAnyIP(5000, listenOptions =>
9
+ listenOptions.Protocols =
10
+ Microsoft.AspNetCore.Server.Kestrel.Core.HttpProtocols.Http2));
11
+
12
using WebApplication app = builder.Build();
13
14
app.MapGrpcService<BestsService>();
0 commit comments