grpc-auth-test/dummy.proto
2025-02-02 01:49:42 +02:00

28 lines
492 B
Protocol Buffer

syntax = "proto3";
package dummy;
message Empty {
}
message SomeRequest {
string what_client_sends = 1;
}
message SomeResponse {
string what_server_sends = 1;
}
message StreamRequest {
string what_client_sends = 1;
}
message StreamResponse {
string what_server_sends = 1;
}
service TestService {
rpc GetSomething (SomeRequest) returns (SomeResponse);
rpc ClientMessages (stream StreamRequest) returns (Empty);
rpc ServerMessages (Empty) returns (stream StreamResponse);
}