Is HTTP2.0 supported on all platforms?

I want to use grpc-lua with Defold. Does your engine support http2.0 on all platforms?

I don’t believe we support it on any platforms to be honest.

Is it possible to add http2.0 support with external libs?

There probably are c++ libraries out there that support HTTP2 (e.g. lib curl etc). It will ofc be an overhead, adding more code to the engine.
You would need to create an extension which exposes other Lua functions for http requests.

1 Like

Thank you for your help. I’m trying to decide if I will go unity or defold route but I need realtime chat in my game. It is the easiest for me to go c#-grpc(bidirectional stream) or c#-signalr(websocket). There is grpc implementation for lua but there is no implementation of signal r for lua so either way I need to use cpp version and bind it to lua :confused:

Defold does have a native Websockets extension.

1 Like

So I only need to port SignalR client implementation to lua. It should not be that hard. Thanks! :slight_smile:

2 Likes

If you are looking for alternatives: Both Colyseus and Nakama have realtime chat and both have good Defold support.

2 Likes