18 lines
361 B
Protocol Buffer
18 lines
361 B
Protocol Buffer
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"
|
|
}
|