1*cc02d7e2SAndroid Build Coastguard WorkergRPC Reflection Example 2*cc02d7e2SAndroid Build Coastguard Worker================ 3*cc02d7e2SAndroid Build Coastguard Worker 4*cc02d7e2SAndroid Build Coastguard WorkerThis example shows how reflection can be registered on a gRPC server. 5*cc02d7e2SAndroid Build Coastguard Worker 6*cc02d7e2SAndroid Build Coastguard Worker### Build and run the example 7*cc02d7e2SAndroid Build Coastguard Worker 8*cc02d7e2SAndroid Build Coastguard WorkerTo start the reflection server on its default port of 50051, run the following command from within the `examples/cpp/reflection` folder: 9*cc02d7e2SAndroid Build Coastguard Worker 10*cc02d7e2SAndroid Build Coastguard Worker``` 11*cc02d7e2SAndroid Build Coastguard Worker$ bazel run :reflection_server 12*cc02d7e2SAndroid Build Coastguard Worker``` 13*cc02d7e2SAndroid Build Coastguard Worker 14*cc02d7e2SAndroid Build Coastguard WorkerThere are multiple existing reflection clients you can use to inspect its services. 15*cc02d7e2SAndroid Build Coastguard Worker 16*cc02d7e2SAndroid Build Coastguard WorkerTo use `gRPC CLI`, see https://github.com/grpc/grpc-go/blob/master/Documentation/server-reflection-tutorial.md#grpc-cli. 17*cc02d7e2SAndroid Build Coastguard Worker 18*cc02d7e2SAndroid Build Coastguard WorkerTo use `grpcurl`, see https://github.com/fullstorydev/grpcurl. 19