New Post: Should client always consume response body ?
Thank you for these explanations, these are exactly what I was after.
View ArticleNew Post: developing with embarcadero RAD Studio
Hey, I'm looking for a powerful C+++ REST SDK but I develop with Embarcadero RAD Studio. Can I use Casablanca anyway? Thx for your help!
View ArticleNew Post: developing with embarcadero RAD Studio
Hi, Certainly! Casablanca is a cross-platform library that builds (on windows) with the visual studio 2013 and 2012 compiler toolsets. While we don't officially support RAD Studio, if you can compile...
View ArticleNew Post: developing with embarcadero RAD Studio
Hey, thx! But where do I get the needed C++ Rest SDK NuGet Packages from? In the tutorial the NuGet Package Manager is needed but I don't have this one....
View ArticleNew Post: developing with embarcadero RAD Studio
The NuGet packages are only applicable when using Visual Studio. Since you're not using Visual Studio, you'll need to build Casablanca from source.Here is a link to the documentation to build on...
View ArticleClosed Issue: Add logout functionality to oauthx_config [170]
Logout functionality should be exposed on the oauth2_config class (just like fetch_token).Comments: Not a bug in Casablanca. The difficulties I had a related to IE only, FireFox and Chrome work fine.
View ArticleClosed Unassigned: make fetch_token more resilient to errors [172]
Example from src\http\oauth\oauth2_handler.cpp:``` .then([](json::value token_json){ return token_json[U("access_token")].as_string();})```If we don’t get the expected value, it will resurface as an...
View ArticleNew Post: linux_compact.h typedef unsigned long DWORD conflict with sqltypes.h
Hi, On Linux 64 bit, this type is 64 bit. Now I need to use the odbc interface (odbcUnix) in the same project with Casablanca and they also define DWORD (in sqltypes.h) but of type int. This creates a...
View ArticleNew Post: developing with embarcadero RAD Studio
Hey, I tried this. But I command line doesn't know "msbuild dirs.proj /p:Configuration=Debug /p:Platform=x64". I'm in the right Directory. What can I do? My next question ist: What do I have to put at...
View ArticleNew Post: developing with embarcadero RAD Studio
Hi, You've likely skipped over the step If you're using PowerShell, you can now set up VC++ compiler toolset by running the setup_ps_env_for_VS2013.ps1 script. Alternatively, you can open a Visual...
View ArticleNew Post: developing with embarcadero RAD Studio
Hey, no I didn't. I install VS 2012 Express and startet Setup_ps_env_for_VS2012.ps1. PowerShell is starting then but there's no report if the Installation worked or not. thx!!
View ArticleNew Post: developing with embarcadero RAD Studio
Try instead opening a Visual Studio Command Prompt from the menu Tools -> Visual Studio Command Prompt within visual studio 2012. roschuma
View ArticleNew Post: developing with embarcadero RAD Studio
Hey, now it worked. How does it go on now? I ran the tests, everything is fine, how do I go on now to work in RAD Studio with casablanca?
View ArticleNew Post: developing with embarcadero RAD Studio
Good to hear. You'll need to add appropriate linker and compiler options to include the Casablanca headers and link against the produced dll. We don't have a step-by-step for RAD Studio, since it's not...
View ArticleNew Post: does casablanca support compression on http response?
thanks for your replay, kavyako, So does the casablanca team has a plan for compression? what if my rest request is large in size? is there any ways to optimize? thank you
View ArticleCreated Unassigned: TCP Listener [186]
A TCP listener similar to the http listener.Appears that this was removed in the past.
View ArticleCommented Unassigned: Windows Phone 8.1 Support [101]
With VS2013 update 2, Casablanca failed to link. The toolset I selected was vc120_wp81, and I tired some modification based on vc110_wp80 but did not success. I'm sure 8.1 support is underway, right...
View ArticleNew Post: Casablana DLL and different compiler versions
Hi, Is it possible for example to use a Casablanca DLL created with vs 2012 in a program compiled with vs 2013? I do not think so because of different C runtimes and different STL implementations......
View ArticleNew Post: Simple Listener Program Faulting on Linux
The following program is faulting on Linux (Ubuntu 14 and RHEL 7) on listener.close. It faults if one or more requests are processed, not on zero requests. It actually serves up pages just fine, it...
View Article