Edited Feature: Linux/non-Windows http_client proxy support [88]
Please vote if this is an important scenario for you. If the lack of this feature is is blocking your adoption of the C++ REST SDK, please comment below. Note: We cannot guarantee that this feature...
View ArticleClosed Issue: live_client throw exception from listener [109]
There was an exception from the listener, resulting in " This page can’t be displayed" error in the browser after successful login. Sometimes this exception bubbles up to the client and kills the...
View ArticleCreated Unassigned: Add logout functionality to oauthx_config [170]
Logout functionality should be exposed on the oauth2_config class (just like fetch_token).
View ArticleCreated Unassigned: How to obtain new access token or refresh token [171]
Need to handle token expiration gracefully, and expose a way to get a refreshed token
View ArticleCreated 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 ArticleEdited Issue: Add logout functionality to oauthx_config [170]
Logout functionality should be exposed on the oauth2_config class (just like fetch_token).
View ArticleEdited 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 ArticleEdited Unassigned: How to obtain new access token or refresh token [171]
Need to handle token expiration gracefully, and expose a way to get a refreshed token
View ArticleNew Post: UNREFERENCED_PARAMETER on apple
how do I submit the signed CLA? Also, if we remove the macro, as opposed to correcting it, then in projects that use warning level 4 and warnings as errors will have a problem with unreferenced...
View ArticleNew Post: UNREFERENCED_PARAMETER on apple
Hi Les1966, Basically you just need to download, sign, and send a copy to either of the following email addresses: stgates at Microsoft dot com or ask Casablanca at Microsoft dot com. Then we can...
View ArticleNew Post: UNREFERENCED_PARAMETER on apple
That makes sense, personally I find the macro a better method of self documenting code than the inline comment, which is why I have the macro in my cross platform code. If you think it is a better fix...
View ArticleNew Post: UNREFERENCED_PARAMETER on apple
Ok yes I agree. How about this, we keep the macro but instead give it a name that won't conflict with other libraries. How about we call it CASABLANCA_UNREFERENCED_PARAMETER? The name is a bit long,...
View ArticleNew Post: UNREFERENCED_PARAMETER on apple
Your pull request has been merged. Thanks for the change! Keep in mind now that you've signed the CLA you can submit future pull requests as well. Steve
View ArticleCommented Issue: UNREFERENCED_PARAMETER macro can conflict with user code [175]
See discussion:https://casablanca.codeplex.com/discussions/546004We don't even actually need that macro, instead we could just use "varname;"Comments: Fixed in development branch by Les1966.
View ArticleEdited Issue: UNREFERENCED_PARAMETER macro can conflict with user code [175]
See discussion:https://casablanca.codeplex.com/discussions/546004We don't even actually need that macro, instead we could just use "varname;"
View ArticleNew Post: does casablanca support compression on http response?
Hi, I'm wondering any compression will be applied to the http response, for example when the response is very big in size. If it does, do i need to config it somewhere? thanks!
View ArticleNew Post: Should client always consume response body ?
Hi momaison, Let me explain a little bit how the HTTP response flow works with our library. I realize there should be documented better, eventually we will get up a tutorial or document describing this...
View ArticleUpdated Wiki: Setup and Build on Linux
How to setup, build, and run tests on Linux (2.0+) 1. Install Ubuntu 12.04 or later.2. Add the Ubuntu PPA for GCC 4.8: sudo apt-get install python-software-properties sudo add-apt-repository...
View ArticleNew Post: Running into "error in WinHttpSendRequest" when making https requests
Hi, I use casablanca to build a cpp rest client. Recently we need to replace all http requests with https requests. So I simply changed the "http" in the following code to "https": //vistit...
View Article