mirror of
https://github.com/php-win-ext/grpc.git
synced 2026-03-24 17:12:19 +01:00
gRPC is currently getting formatted with two different clang-format implementations, and due to some weirdness they have different include file orderings. This change introduces clang-format configuration to ensure that the two systems align - it's *highly* expected that this will need some maintenance going forward as the two systems evolve. Closes #40905 PiperOrigin-RevId: 819606209
gRPC Reflection Example
This example shows how reflection can be registered on a gRPC server.
Build and run the example
To start the reflection server on its default port of 50051, run the following command from within the examples/cpp/reflection folder:
$ bazel run :reflection_server
There are multiple existing reflection clients you can use to inspect its services.
To use gRPC CLI, see https://github.com/grpc/grpc-go/blob/master/Documentation/server-reflection-tutorial.md#grpc-cli.
To use grpcurl, see https://github.com/fullstorydev/grpcurl.