docs: refine gRPC guide section numbers and add CloseAndRecv & fileStore explanations
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
syntax = "proto3";
|
||||
|
||||
option go_package = "./protoapi/;protoapi";
|
||||
|
||||
service Http3Service {
|
||||
rpc Ping (PingRequest) returns (PingResponse);
|
||||
rpc StreamPing (stream PingRequest) returns (stream PingResponse);
|
||||
}
|
||||
|
||||
message PingRequest {
|
||||
string Message = 1;
|
||||
}
|
||||
|
||||
message PingResponse {
|
||||
string Message = 1;
|
||||
string Transport = 2; // Should return "quic"
|
||||
}
|
||||
Reference in New Issue
Block a user