BidirectionalService.proto 272 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14
syntax = "proto3";
package com.example.grpc;

message ClientRequest {
    string stringRequest = 1;
}

message ServerResponse {
    string stringResponse = 1;
}

service BidirectionalService {
    rpc bidirectional(stream ClientRequest) returns (stream ServerResponse);
}