Hi there,
I want to use my service as threaded server for handling each request concurrently.
But I only see the examples of threaded server of which service use just one rpc methods.
I could see the way how to handle the requests with Queue, but both examples use a single type of request and reply.
But how can I handle the multiple types of rpc requests in service and relevant responses like that way?
Is there any example or recommended way to use async server?
ServerBuilder builder;
builder.AddListeningPort(server_address, grpc::InsecureServerCredentials());
builder.RegisterService(&service);
std::unique_ptr<Server> server(builder.BuildAndStart());
I'm looking forward to your help.
Thanks a lot in advance! :)