New Post: When http_listener is https://localhost:someport throws exception...
hi, Steve i tried catching it using the type web::http::http_exception it throws this message WinHttpSendRequest: 12030: The connection with the server was terminated abnormally.
View ArticleCommented Feature: Please give users a way to use an external websocketpp...
Hi, can you please update it? 0.3.0 has been released two months ago, and I would personally avoid having one alpha library (even if only for tests) in debian ;)many thanksGianfrancoComments: Merged...
View ArticleClosed Feature: Please give users a way to use an external websocketpp...
Hi, can you please update it? 0.3.0 has been released two months ago, and I would personally avoid having one alpha library (even if only for tests) in debian ;)many thanksGianfranco
View ArticleUpdated Release: C++ REST SDK 2.7.0
websocketsMerged pull request allowing through CMake to use an external version of Websocket++. #294miscellaneousMerged a couple of pull requests (here and here) fixing several issues with arm64. #312,...
View ArticleUpdated Release: C++ REST SDK 2.7.0
websocketsMerged pull request allowing through CMake to use an external version of Websocket++. #294miscellaneousMerged a couple of pull requests (here and here) fixing several issues with arm64. #312,...
View ArticleNew Post: Resume uploads
Thanks. I managed to implement resumable uploads with little trouble.
View ArticleCommented Issue: Make json::value(const char*) safe under Windows [185]
The following code: json::value params; params[U("version")] = json::value("1.0");results in the following JSON: `{"version":true}` under Windows, as `"1.0"` literal is implicitly converted to `bool`...
View ArticleUpdated Wiki: How to setup, build, and run tests on Windows
How to setup, build, and run tests on WindowsSetup Git If you use PowerShell, we recommend installing Posh-Git (here is how). If you use cmd.exe, open the Developer Command Prompt for VS2013 (here is...
View ArticleUpdated Wiki: Use on Android
How to use the C++ REST SDK on Android (2.3+) The easiest way to use the C++ REST SDK on android is to add the "C++ REST SDK - Android" NuGet package available via Visual Studio 2015 (including the...
View ArticleUpdated Wiki: Setup and Build on iOS
How to build and setup on iOS First, follow all the instructions on Setup and Build on OSX. While some steps could be skipped if you only want to build for iOS, it is useful to diagnose problems during...
View ArticleUpdated Wiki: Setup and Build on iOS
How to build and setup on iOS First, follow all the instructions on Setup and Build on OSX. While some steps could be skipped if you only want to build for iOS, it is useful to diagnose problems during...
View ArticleCommented Issue: Make json::value(const char*) safe under Windows [185]
The following code: json::value params; params[U("version")] = json::value("1.0");results in the following JSON: `{"version":true}` under Windows, as `"1.0"` literal is implicitly converted to `bool`...
View ArticleCommented Issue: Make json::value(const char*) safe under Windows [185]
The following code: json::value params; params[U("version")] = json::value("1.0");results in the following JSON: `{"version":true}` under Windows, as `"1.0"` literal is implicitly converted to `bool`...
View ArticleNew Post: extract_json performance
Hi Steve, I was measuring performance for transferring fairly large amount of text data (~ 4.3 MB). It was relatively fast to get data to client at 1.3 seconds (in LAN environment). However, the call...
View ArticleEdited Issue: wrong using swscanf_s [386]
You are using for example:```src\utilities\asyncrt_utils.cpp:SYSTEMTIME sysTime = { 0 }; const wchar_t * formatString = L"%4d-%2d-%2dT%2d:%2d:%2dZ"; auto n = swscanf_s(input.c_str(),...
View ArticleCommented Issue: wrong using swscanf_s [386]
You are using for example:```src\utilities\asyncrt_utils.cpp:SYSTEMTIME sysTime = { 0 }; const wchar_t * formatString = L"%4d-%2d-%2dT%2d:%2d:%2dZ"; auto n = swscanf_s(input.c_str(),...
View ArticleClosed Issue: streams & http_client - there are numerous places where...
I strongly think we need to reconsider the design of this API from a usability perspective esspecially since almost all of our APIs are asychronous. If I have sometime I will look into what options we...
View ArticleNew Post: Is this a bug in json::value::parse?
Hi Boris, Ok there are a couple of things here so let me see if I can get them all :) I don't consider this a bug in our JSON parser, you are passing in a string of the form "[true, false]00". While...
View ArticleNew Post: extract_json performance
Hi Ganesha, To give some background information, the task returned from http_client::request(...) is completed once the HTTP headers have arrived. This does NOT mean that the entire HTTP response body...
View ArticleCommented Unassigned: extract_utf16string doesn't return the whole body [387]
```void test_pageGetUTF8(std::wstring url){ http_client client(url); auto query = uri_builder().append_query(L"q", L"test").to_string(); client.request(methods::GET, query) .then([](http_response...
View Article