New Post: Sending GET Request
I have created a listener application using Latest Casablanca SDK. This is the source code. for GET requestlistener.support(methods::GET, [](http_request req) { HKEY hKey; LONG lRes =...
View ArticleNew Post: Webclient callback client exception when service is unavailable
Hi Chris, You are calling wait on the task returned from the connect(...) function call. Any time you call wait/get on a task if that task didn't complete and threw an exception, the exception will be...
View ArticleNew Post: Sending GET Request
Hi maverick786us, You could perhaps try to identify the client making the request by the User Agent HTTP header, but this isn't guaranteed to work in all cases. The other option is assume it is a...
View ArticleNew Post: Webclient callback client exception when service is unavailable
Steve, Thanks for the reply/ The read was informing. I changed the code as recommended and found I was still getting an unhandled exception...rather an abort. The first time I made the connect call I...
View ArticleNew Post: Sending GET Request
stevetgates wrote: Hi maverick786us, You could perhaps try to identify the client making the request by the User Agent HTTP header, but this isn't guaranteed to work in all cases. The other option is...
View ArticleCommented Feature: json library doesn't have a way to remove/erase elements...
found this while implementing features for the Azure mobile SDK. I wanted to update and remove elements from a json::value array and object. Unfortunately no such ability exists. The options are...
View ArticleClosed Feature: json library doesn't have a way to remove/erase elements in...
found this while implementing features for the Azure mobile SDK. I wanted to update and remove elements from a json::value array and object. Unfortunately no such ability exists. The options are...
View ArticleNew Post: How to delete a json::value member?
FYI - I've implemented this in the development branch now if you want to use it. Steve
View ArticleCommented Issue: locale test failures because fr-FR is not found [354]
Following the build log on debian unstable and ubuntu utopic amd64(I was packaging it for debian)casablanca/Release/tests/functional/http/client/building_request_tests.cpp:251: error: Failure in...
View ArticleClosed Issue: locale test failures because fr-FR is not found [354]
Following the build log on debian unstable and ubuntu utopic amd64(I was packaging it for debian)casablanca/Release/tests/functional/http/client/building_request_tests.cpp:251: error: Failure in...
View ArticleCommented Issue: Missing constructor for 64-bit number in json [351]
One bit of the puzzle to integrate 64-bit numbers in JSON seems to be missing. You only provide the following methods to create numbers:```static _ASYNCRTIMP value __cdecl number(double value);static...
View ArticleClosed Issue: Missing constructor for 64-bit number in json [351]
One bit of the puzzle to integrate 64-bit numbers in JSON seems to be missing. You only provide the following methods to create numbers:```static _ASYNCRTIMP value __cdecl number(double value);static...
View ArticleCommented Issue: [Win32] http_listener crashes upon complicated query string...
When a request for a complicated string such...
View ArticleClosed Issue: [Win32] http_listener crashes upon complicated query string [267]
When a request for a complicated string such...
View ArticleUpdated Release: C++ REST SDK 2.6.0
streamsDeprecated the streambuf::putn API. In some cases with file streams this API makes a copy. To be more efficient and not break existing code a new function putn_nocopy has been created. This...
View ArticleNew Post: Webclient callback client exception when service is unavailable
Hi Chris, Ah yes I see now, technically we don't allow the websocket_client to connection be closed and reopened. Perhaps support to allow it could be added in the future but I'm not sure how much...
View ArticleUpdated Release: C++ REST SDK 2.6.0
streamsDeprecated the streambuf::putn API. In some cases with file streams this API makes a copy. To be more efficient and not break existing code a new function putn_nocopy has been created. This...
View ArticleUpdated Release: C++ REST SDK 2.6.0
streamsDeprecated the streambuf::putn API. In some cases with file streams this API makes a copy. To be more efficient and not break existing code a new function putn_nocopy has been created. This...
View ArticleNew Post: Request to an external server from a particular IP address
My system has 5 IP addresses and I want to make an HTTP request to a web-server from a particular IP. Is it possible to bind an HTTP request to a given address? (Windows and Linux).
View Article