UDP client/transport underneath GRPC

98 views
Skip to first unread message

ashish tiwari

unread,
Sep 11, 2020, 5:46:45 PM9/11/20
to grpc.io
1. is it possible to use any network client underneath grpc other than the one that GRPC uses by default?
2. Is it possible to use UDP client underneath GRPC?

ashish tiwari

unread,
Sep 11, 2020, 8:00:38 PM9/11/20
to grpc.io
I am looking into developing a Gaming application where I would like to use GRPC C#. So I am wondering if I can use any UDP or Http3 client underneath GRPC.

Jan Tattermusch

unread,
Oct 6, 2020, 9:13:06 AM10/6/20
to grpc.io
Internally, gRPC C# uses the native gRPC C-core library (https://github.com/grpc/grpc/tree/master/src/core) to make RPC calls. Currently gRPC C core library doesn't support UDP or Http3 (but there is an issue open to investigate gRPC support for http3).
In theory, using a different network client with gRPC C# and gRPC C core is possible (C core can use different transport) but integrating C core with new custom transports is very work intensive and requires an expert. Definitely not something I'd recommend if you just want to use gRPC.

ashish tiwari

unread,
Oct 7, 2020, 2:17:00 PM10/7/20
to grpc.io
Hi Jan, 

thanks for the response. I have 2 more questions?
1. Does GRPC C# or unity support Cronet as transports?(seems like GRPC in other languages do)
2. Is it possible to configure GRPC to use Http1.1 instead of Http/2?

ashish tiwari

unread,
Oct 9, 2020, 6:39:13 PM10/9/20
to grpc.io
Hi Jan,

  Can you please help me with previous questions?

Reply all
Reply to author
Forward
0 new messages