summaryrefslogtreecommitdiff
path: root/tests/FlatBuffers.GRPC.Swift/Sources/Model/greeter.fbs
blob: 811303c936425196460d4cc8ee64aa573fc7878f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
table HelloReply {
  message:string;
}

table HelloRequest {
  name:string;
}

table ManyHellosRequest {
  name:string;
  num_greetings:int;
}

rpc_service Greeter {
  SayHello(HelloRequest):HelloReply;
  SayManyHellos(ManyHellosRequest):HelloReply (streaming: "server");
}