We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Writer::Finish
1 parent 29de496 commit b042777Copy full SHA for b042777
libraries/grpc-proto-structs/include/userver/grpc-proto-structs/client/stream.hpp
@@ -93,7 +93,7 @@ class Writer final {
93
}
94
95
/// @brief Complete the RPC successfully
96
- StructsResponse Finish() { return writer_.Finish(); }
+ StructsResponse Finish() { return proto_structs::MessageToStruct<StructsResponse>(writer_.Finish()); }
97
98
/// @brief Get call context, useful e.g. for accessing metadata.
99
ugrpc::client::CallContext& GetContext() { return writer_.GetContext(); }
0 commit comments