heroiclabs / nakama-cpp

Generic C/C++ client for Nakama server.
https://heroiclabs.com/docs/cpp-client-guide
Apache License 2.0
68 stars 25 forks source link

add cpprestsdk ws android #92

Closed lugehorsam closed 1 year ago

lugehorsam commented 1 year ago

Add a cpprestsdk adapter for Android. I am using it instead of the original libhttpclient adapter for a few reasons:

(1) It's clearer how the API will interface with cocos2d-x (i.e.,, it doesn't require an application context and doesn't make calls into Java via the JNI) (2) It doesn't require a separate gradle build system (3) I am...a bit skeptical that libhttpclient is going to pan out because they aren't really a CMake based team.

Cpprestsdk isn't an ideal adapter either, but I was able to restore this adapter from the OG nakama-cpp client.

lugehorsam commented 1 year ago

@tomglenn thanks, fixed