gRPC with HTTP/2.0
Hi..
I am currently modding for a Unity game.. and I am not having a pleasant experience lol
I am currently trying to connect up to a gRPC server by using the gRPC.dotnet ( https://github.com/grpc/grpc-dotnet )...
This runs off HTTP/2.0, while Unity or the Mono Runtime more to say does not support HTTP/2.0...
So I was thinking hmm.. how about I throw in the gRPC.Client.Web to run it over HTTP/1.1...
But that does not work either, because then I am not able to get any responses from the server as that runs off HTTP/2.0 Trailers..
What can I do in this situation?
I can not use HTTP/2.0 as the Mono Runtime does not support it, and I can technically use the Web version to run it over HTTP/1.1, but then I would need to run a new RPC call if I want to give some information back..
This will most likely end up with bloated and annoying code...
Any tips || ideas? 😉
( Added with some images for illustration when I was tinkering )
0 Replies