Skip to content

Commit

Permalink
adding grpc service health endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
bigtallcampbell committed Jul 31, 2024
1 parent acbd48b commit c3cdbb5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Client.cs
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ public Client() {
_grpcHost.UseRouting();
_grpcHost.UseEndpoints(endpoints => {
endpoints.MapGrpcService<Core.Services.MessageReceiver>();
endpoints.MapGrpcHealthChecksService();
endpoints.MapGet("/", async context => {
await context.Response.WriteAsync("Communication with gRPC endpoints must be made through a gRPC client. To learn how to create a client, visit: https://go.microsoft.com/fwlink/?linkid=2086909");
});
Expand Down

0 comments on commit c3cdbb5

Please sign in to comment.