I use nk.json_encode() to send messages to the clients in my game. I’d like to reduce the amount of data by encoding the message with protobuf instead. First, would this be possible with Nakama? If so, is there an example of how to do this somewhere?
I’ve searched for this but not found anything. I suppose using a Lua module of an external library is one option, but I was hoping for something similar to nk.json_encode().