Add grpc reflection

This commit is contained in:
2025-10-26 11:38:18 +08:00
parent cdfc3f6571
commit 29c5971554
13 changed files with 23 additions and 34 deletions

View File

@@ -41,6 +41,7 @@ public static class ApplicationConfiguration
app.MapGrpcService<WalletServiceGrpc>();
app.MapGrpcService<PaymentServiceGrpc>();
app.MapGrpcService<RealmServiceGrpc>();
app.MapGrpcReflectionService();
return app;
}

View File

@@ -46,6 +46,7 @@ public static class ServiceCollectionExtensions
options.MaxReceiveMessageSize = 16 * 1024 * 1024; // 16MB
options.MaxSendMessageSize = 16 * 1024 * 1024; // 16MB
});
services.AddGrpcReflection();
services.AddRingService();