Replace TODO with a link to the proto file

pull/23603/head
Kane York 4 years ago committed by GitHub
parent 79c1294720
commit be20947db3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 25
      doc/server-reflection.md

@ -23,29 +23,8 @@ We want to be able to answer the following queries:
Specifically, what are the names of the methods, are those methods unary or
streaming, and what are the types of the argument and result?
```
#TODO(dklempner): link to an actual .proto later.
package grpc.reflection.v1alpha;
message ListApisRequest {
}
message ListApisResponse {
repeated google.protobuf.Api apis = 1;
}
message GetMethodRequest {
string method = 1;
}
message GetMethodResponse {
google.protobuf.Method method = 1;
}
service ServerReflection {
rpc ListApis (ListApisRequest) returns (ListApisResponse);
rpc GetMethod (GetMethodRequest) returns (GetMethodResponse);
}
```
The first proposed version of the protocol is here:
https://github.com/grpc/grpc/blob/master/src/proto/grpc/reflection/v1alpha/reflection.proto
Note that a server is under no obligation to return a complete list of all
methods it supports. For example, a reverse proxy may support server reflection

Loading…
Cancel
Save