Can I get example codes for c++ empty reponse in async mode
My current code occurs compile error.
struct AsyncClientCall {
google.protobuf.Empty reply;
ClientContext context;
Status status;
std::unique_ptr<ClientAsyncResponseReader<google.protobuf.Empty>>
response_reader;
};
In file included from ./src/CommGrpcService.cpp:1:0:
./hdr/CommGrpcService.h:28:9: error: 'google' does not name a type
google.protobuf.Empty reply;
^
./hdr/CommGrpcService.h:31:67: error: template argument 1 is invalid
std::unique_ptr<ClientAsyncResponseReader<google.protobuf.Empty>>
response_reader;
^
./hdr/CommGrpcService.h:31:72: error: template argument 1 is invalid
std::unique_ptr<ClientAsyncResponseReader<google.protobuf.Empty>>
response_reader;
^
./hdr/CommGrpcService.h:31:72: error: template argument 2 is invalid
--
You received this message because you are subscribed to the Google Groups
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/grpc-io/798d69ae-0fb1-4b77-a069-0e8a8bcb112e%40googlegroups.com.