REST client in C++ - c++

Has anybody successfully tried any C++ REST library (client) in their enterprise product? It can be collection of software stack, but it should have the capability to run on all platforms, i.e.: Windows, Linux, Solaris, AIX, HP-UX.

You may want to check thin REST client for C++ at https://github.com/mrtazz/restclient-cpp.
It is a C++ wrapper around good and stable multiprotocol, multiplatform libcurl library.

C++ REST SDK is an actively developed C++ REST client that is currently supported in Windows, Mac OS X, iOS and Android. It is also licensed under Apache License 2.0 which opens up a range of customizations on the library to suit your needs.

Here is the list for most useful C++ libraries include network library:
https://en.cppreference.com/w/cpp/links/libs
you can see listed can be used as REST client library:
Boost.Beast
C++ REST SDK
curlpp

I cannot recommend any integrated solution but what you can do is use:
Transport: neon, serf or libcurl (all of them have advs and disadvs)
XML parsing: libexpat or libxml2
JSON parsing: Jansson or JSON Spirit

Related

Does ADAPTIVE Communication Environment (ACE) C++ library has support for iOS and Android?

I have been searching for cross platform C++ networking libraries with SSL and authentication support and came across ADAPTIVE Communication Environment (ACE) C++ library.
However, searching through its website ( http://www.dre.vanderbilt.edu/~schmidt/ACE.html and http://www.dre.vanderbilt.edu/~schmidt/ACE-versions-i.html), i can't find android mentioned anywhere.
Is this library supported on Android along with MacOS, Windows and Linux? I have also come across boost ASIO and POCO but wanted to consider ACE as well if the platform support is there for my requirement.
ACE supports Android and iOS, see the ACE-INSTALL.html for some documentation.

Porting C++ application to Android using NDK

I want to port an C++ application to Android using the NDK. The application is to be used in both Win-PCs and tablets (Project Tango). Its function is to support a custom API that I am testing. The applications are for research purposes only, so I am not worried about deployment other than on said tablets.
I know that the NDK support of C++ libs has evolved substantially since this question: Porting a C++ application to android
The application I am porting depends on the following headers:
STL containers, pthreads32, jsoncpp, winsocks.
I know winsocks will have to be rewritten to BSD sockets, what about STLs and pthreads? Will jsoncpp work if I have the complete library?
Also, what is the process for including other libraries? Do I just include the .so file? Apologies, I am very new to the NDK.
STL support is documented here: https://developer.android.com/ndk/guides/cpp-support.html
Can include prebuilt libraries into your app with https://developer.android.com/ndk/guides/prebuilts.html

C++ casablanca vs Mozilla NSPR vs Facebook folly

Has anyone evaluated these libraries for their pros and cons as a cross-platform library?
I understand NSPR is very old and stable, but how does it compare to Microsoft Casablanca C++ rest SDK and Facebook folly.
Microsoft Casablanca is capable of running on iOS and Android.
But if I am looking for supporting only OSX, Linux and Windows which one should I go with and why?
Is there any other cross-platform library I should look at?
I was look for a cross platform HTTP client in C++. The following link gives a brief on many options available there,
http://kukuruku.co/hub/cpp/a-cheat-sheet-for-http-libraries-in-c

Cross platform open source third party library for WebServices

I'm looking for cross platform open source third party library for web services which support c++. I have generated c++ files using WSMakeStubs utility but it uses Core Foundation data types. I want a library which provide web service call through c++ so that I can use it on Windows and Mac both the platform.
I wanted stubs that can be used on both Windows and Mac platform.
Could any one suggest me good library.
thanks
I would like to recommend gSoap. In the company I'm working at, we use it for about 7 years now (since version 2.6.0, the actual version is 2.8.3) and only made good experiences with it. Look at the success stories to get an overview of the companies which are using it.
Related:
C++ and SOAP
What is a good platform for devoloping web services in C++?
A Good C++ Library for SOAP
pion is a possibility, though I don't know how it compares to gSoap or other alternatives. I got it working an evening then got distracted with other reverse economies. I seem to remember it having fewer dependencies of the others I researched.

Example of using UDP in obj-c/C++?

I'm making an iOS app - real-time game, wanna use UDP protocol. I'm searching a lot for examples/guides, but can't find any.
Also, the software on the server will use C++, and I've searched a lot and can't fina a nice way to use it, for begginers in C++...
I found that: http://developer.apple.com/mac/library/samplecode/PictureSharing/Introduction/Intro.html#//apple_ref/doc/uid/DTS10000712-Intro-DontLinkElementID_2
But it's using TCP.
So, if anyone have an example of usuing UDP in objective-c and C++...
Thanks!
Maybe have a look at UDT:
UDT -- UDP-based data transfer
http://udt.sourceforge.net/software.html
The UDT software is a C++ library containing the UDT API implementation and programming examples. The most recent version is UDT version 4, including 3 separate packages: pure source code, GNU package, and pre-compiled WIN32/i386 version. All UDT releases can be downloaded from UDT SourceForge project web site.
...
UDT supports Linux, Windows, OS X, and BSD.
See also:
http://digitalpbk.blogspot.com/2007/10/unix-networking-sockets-udp-transmitter.html