New Post: A question on when_all
Hi alexKhaustov, Yes what you are seeing is correct, we treat tasks of vectors as a special case. Instead of when_all returning a task of a vector of vectors, we collapse down the vectors so that you...
View ArticleNew Post: Linker Errors on Android
I don't know why. The source code of src/CMakeLists.txt in version 2.4 is exactly the same with version 2.3 But the version 2.3 can be built successfully. The error is printed by CMake, and the source...
View ArticleNew Post: cmake and windows build (or better say x-platform)
hi roschuma, Thank you very much for the reply (and library!). Taking in account that under Windows it is possible to compile libcpprest once and put it as precompiled i will use this path for now.
View ArticleNew Post: Problem with https
I have developed a listener application using Casablanca SDK, in VS 2012. The details I have mentioned this thread.https://casablanca.codeplex.com/discussions/564796 I have recently discovered a new...
View ArticleNew Post: The best way to convert utility::string_t and to_string() to...
Hi there I'm using Microsoft Cpp REST SDK v1.2 with Visual Studio 2010. My goal is to read json from web api. Which is the best way to convert utility::string_t and to_string() to std::string My code...
View ArticleNew Post: The best way to convert utility::string_t and to_string() to...
Hi ggiloyan89, The library contains a set of string conversion functions under the utility::conversions namespace. Specifically for converting from utility::string_t to a UTF-8 std::string you can use...
View ArticleNew Post: HTTP Server Deployment
Hi All, I'm just learning about Casablanca, so pardon the ignorance. I have a few questions about deployment and such as we're about to embark on using a 3rd-party service that is built using...
View ArticleNew Post: Linker Errors on Android
We recently fixed a bug with this, could you try doing a completely clean checkout and clean build of the development branch?
View ArticleNew Post: Linker Errors on Android
Hi, roschuma, thank you for your help. I can build version 2.4 successfully now. But when i built executable sample "bingrequest", some link error happened.wangqiang@ubuntu:~/cpprest/jni$...
View ArticleNew Post: http_listener SSL support
Thanks you stevetgates, I found how to create the certificate and assign it to a port...
View ArticleNew Post: HTTP Server Deployment
Hi andyczerwonka, I'm only a user like you, but I can give you my experience. I'm currently using Casablanca to implement http server and works great. Embed http server. In fact, in windows is using...
View ArticleNew Post: Problem with https
Hi, Sorry if I missunderstand. HTTPS will not work only changing the url in the code. You must secure the socket with a certificate. Because of casablanca uses HTTP windows API on Windows, you can use...
View ArticleNew Post: Problem with https
Thanks for the help. I have to deploy this on Client's PC, so is there some easy way to get this SSL certificate registration?
View ArticleNew Post: HTTP Server Deployment
Hi andyczerwonka, I'll add some more information beyond what jdiazdesico provided.Yes the C++ REST SDK is mostly a client side focused library, we have a basic http_listener that we did some work on...
View ArticleNew Post: Linker Errors on Android
Hi wangqiang, It looks like the source file, pplx/pplxlinux.cpp, containing the function definitions is accidentally not being included on Android. Can you edit the CMakeLists.txt file at line 42 to...
View ArticleUpdated Release: C++ Rest SDK 2.5.0
AndroidFixed issue in CMakeLists.txt where parenthesis were incorrectly used instead of brackets.WindowsFixed several code analysis warnings.Updating NuGet package for missing OpenSSL license, also...
View ArticleUpdated Release: C++ Rest SDK 2.5.0
AndroidFixed issue in CMakeLists.txt where parenthesis were incorrectly used instead of brackets.WindowsFixed several code analysis warnings.Updating NuGet package for missing OpenSSL license, also...
View ArticleUpdated Release: C++ Rest SDK 2.5.0
AndroidFixed issue in CMakeLists.txt where parenthesis were incorrectly used instead of brackets.WindowsFixed several code analysis warnings.Updating NuGet package for missing OpenSSL license, also...
View ArticleCommented Issue: websocket_client - sporadic crash in tests [305]
Haven't done any further investigation, but has happened several times on the rolling/nightly builds:Starting test case client_construction:uri_test.....\client_construction.cpp(85): error: Failure in...
View Article