Hi, Just wanted to follow up and see if Jan Tattermusch is back from vacation and help me with the query I have.
On Friday, September 18, 2020 at 11:05:59 AM UTC-7 [email protected] wrote: > Hi Ashish, > > I'm not familiar with gRPC C#, I've cced the owner of gRPC-C#, but he's on > vacation now. I am not pretty sure but it looks like gRPC-C# doesn't > support Cronet transport for now. > > On Fri, Sep 18, 2020 at 10:45 AM ashish tiwari <[email protected]> wrote: > >> Hi, >> >> Can someone please help with the previous question? I am trying to use >> GRPC C# on unity for gaming application and looking into possible ways to >> use Cronet or any other UDP underneath GRPC. >> >> On Friday, September 11, 2020 at 4:59:08 PM UTC-7 ashish tiwari wrote: >> >>> is Cronet transport available for GRPC C# as well? I am looking into a >>> gaming application where I would like to use GRPC C#. I am looking into a >>> possible ways to use Cronet for Quic. If it is not supported, is there a >>> way that I can use any other UDP client/transport underneath GRPC? >>> >>> On Friday, September 11, 2020 at 4:53:33 PM UTC-7 [email protected] >>> wrote: >>> >>>> Hi Ashish, if you use gRPC-Objc, you can simply switch to Cronet >>>> transport by setting *callOptions.transportType == >>>> GRPCTransportTypeCronet*. If you are using gRPC-C++, you also can use >>>> Cronet underneath GRPC, here's an example to use gRPC with Cronet native >>>> interface: >>>> >>>> ``` >>>> struct Cronet_Engine* cronetEngine = createEngineFunc(....); >>>> // get stream_engine ptr for gRPC-cronet >>>> stream_engine* stream_engine = >>>> Cronet_Engine_GetStreamEngine(cronetEngine); >>>> >>>> std::shared_ptr<grpc_impl::ChannelCredentials>credentials = >>>> ::grpc::CronetChannelCredentials(stream_engine); >>>> >>>> // create cronet channel >>>> std::shared_ptr<::grpc::Channel> channel = >>>> ::grpc::CreateCustomChannel(_endpoint, credentials, _args); >>>> >>>> // create stub with cronet channel >>>> auto stub = SomeService::NewStub(channel); >>>> // make async RPC calls with stub... >>>> ``` >>>> >>>> On Friday, September 11, 2020 at 4:21:56 PM UTC-7 [email protected] >>>> wrote: >>>> >>>>> Is it possible to use Cronet underneath GRPC for quic support? >>>> >>>> -- >> 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/cce84873-b208-4811-9fca-dcbe08fdbf40n%40googlegroups.com >> >> <https://groups.google.com/d/msgid/grpc-io/cce84873-b208-4811-9fca-dcbe08fdbf40n%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- 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/d75fe59f-6e6a-479a-b4cd-0b9c09fa3fa9n%40googlegroups.com.
