Create custom API in C++ backend
Is it possible to create a custom JSON API in a C++ backend that will handle a specific set of JSON messages from the front-end?
We tried by setting the "api" property in the JSON message from the front-end to a certain name. This is the name that is returned by my C++ API class that is derived from JsonApi. However, this class doesn't get the messages in it's Message function that is overridden.
So is this possible and if so, when should I register the API class in the session. I tried in the AppWebsocketConnectComplete overridden function of the session, but I don't see any message coming in.
Can you please provide an example if possible?
Can you please provide an example if possible?