Hi everyone,

I'm trying to send an integer back to the client but no data are sent. 
The only solution found is to call 'response->counter()' before sending it

message Response 
{
string message = 1;
uint32 time_ms = 2;
bool is_over = 3;
uint32 counter = 4;
}


Status Step(ServerContext* context, const service::Request* request, 
service::Response* response) override 
{
response->set_message( "step_success" );
response->set_is_over( true );
response->set_counter( 10 );
response->counter();

return Status::OK;
}

Am I doing something wrong? 

-- 
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/45192455-681f-47b5-b215-0e802a681988n%40googlegroups.com.

Reply via email to