25 lines
446 B
Protocol Buffer
25 lines
446 B
Protocol Buffer
/*
|
|
* Copyright 2023 Signal Messenger, LLC
|
|
* SPDX-License-Identifier: AGPL-3.0-only
|
|
*/
|
|
|
|
syntax = "proto3";
|
|
|
|
option java_multiple_files = true;
|
|
|
|
package org.signal.chat.rpc;
|
|
|
|
// A simple service for testing gRPC interceptors
|
|
service EchoService {
|
|
rpc echo (EchoRequest) returns (EchoResponse) {}
|
|
rpc echo2 (EchoRequest) returns (EchoResponse) {}
|
|
}
|
|
|
|
message EchoRequest {
|
|
bytes payload = 1;
|
|
}
|
|
|
|
message EchoResponse {
|
|
bytes payload = 1;
|
|
}
|