Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/mumble.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Cooper <tim.cooper@layeh.com>2015-08-13 15:14:42 +0300
committerMikkel Krautz <mikkel@krautz.dk>2016-05-08 17:45:52 +0300
commit9bd982c9c55a3841bf48b14740b5913433c4de6d (patch)
tree4d08acb0ba6a839c1b1fb952953e0cb4e20e6021 /src/murmur/MurmurRPC.proto
parent805c0477c1e631f4607a3a77783e8c2e581d69aa (diff)
grpc: add TextMessageFilter method comment
Diffstat (limited to 'src/murmur/MurmurRPC.proto')
-rw-r--r--src/murmur/MurmurRPC.proto10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/murmur/MurmurRPC.proto b/src/murmur/MurmurRPC.proto
index 07a57d7d2..66556a511 100644
--- a/src/murmur/MurmurRPC.proto
+++ b/src/murmur/MurmurRPC.proto
@@ -671,6 +671,16 @@ service V1 {
// targeted to the specified users, channels, and trees.
rpc TextMessageSend(TextMessage) returns(Void);
// TextMessageFilter filters text messages on a given server.
+
+ // TextMessageFilter filters text messages for a given server.
+ //
+ // When a filter stream is active, text messages sent from users to the
+ // server are sent over the stream. The RPC client then sends a message back
+ // on the same stream, containing an action: whether the message should be
+ // accepted, rejected, or dropped.
+ //
+ // To activate the filter stream, an initial TextMessage.Filter message must
+ // be sent that contains the server on which the filter will be active.
rpc TextMessageFilter(stream TextMessage.Filter) returns(stream TextMessage.Filter);
//