BidirectionalService.proto 293 Bytes
Newer Older
Michele Fiori's avatar
Michele Fiori committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
syntax = "proto3";
package com.example.grpc;

// Request payload
message ClientRequest {
    string stringRequest = 1;
}

message ServerResponse {
    string stringResponse = 1;
}

service BidirectionalService {

    rpc bidirectional(stream ClientRequest) returns (stream ServerResponse);

}