service PodApi {
rpc FindPodById (Request) returns (Response) {}
}
message Pair {
string key = 1;
repeated string values = 2;
}
message Request {
string method = 1;
string path = 2;
map<string, Pair> header = 3;
map<string, Pair> get = 4;
map<string, Pair> post = 5;
string body = 6;
string url = 7;
}
这个请求体里面各个字段是什么意思的,课程里并没有讲解
登录后可查看更多问答,登录/注册