rust-playground/grpc/broadcaster/proto/service.proto

15 lines
297 B
Protocol Buffer
Raw Normal View History

// SPDX-FileCopyrightText: 2023 Matteo Settenvini <matteo.settenvini@montecristosoftware.eu>
// SPDX-License-Identifier: CC0-1.0
syntax = "proto3";
package package;
service Service {
rpc Broadcaster (stream Message) returns (stream Message);
}
message Message {
string contents = 1;
}