https://github.com/grpc/grpc/blob/2892b24eabbb22b2344aba9c3ba84e529017b684/include/grpcpp/generic/generic_stub.h#L114
The generic APIs are what you are looking for. 

I don't have an exact example for you, but you could use this as a 
reference for the Generic APIs 
- 
https://github.com/grpc/grpc/blob/2892b24eabbb22b2344aba9c3ba84e529017b684/test/cpp/end2end/client_callback_end2end_test.cc#L270

On Thursday, March 2, 2023 at 2:30:37 AM UTC-8 Anil Kumar wrote:

> Can someone please reply ?
>
> On Tuesday, February 21, 2023 at 4:52:19 PM UTC+5:30 Anil Kumar wrote:
>
>> My question is very similar to 
>> https://groups.google.com/g/grpc-io/c/Yruej18KJ_M/m/oGp5vYocCgAJ
>>
>> I want to implement a service agnostic gRPC proxy in C++, which forwards 
>> the request from the Client to the Server and forwards the response back 
>> from the server to the client ?
>>
>> Is there a generic manner to do so ?
>>
>> I see example mentioned in here 
>> <https://github.com/ejona86/grpc-java/blob/grpc-proxy/examples/src/main/java/io/grpc/examples/grpcproxy/GrpcProxy.java>
>>
>>
>> How do I achieve the same in C++ ? Unable to find the C++ equivalent APIs 
>> for 
>>
>> ServerCallHandler, ServerCall.Listener, ClientCallListener
>>
>

-- 
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/4bb1f673-10c9-4156-9118-68303b97d1f2n%40googlegroups.com.

Reply via email to