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/6ca13b22-59ac-4e5c-8746-94758203eb8dn%40googlegroups.com.

Reply via email to