New Post: Using XMLHttpRequest
Thanks for the link. Casablanca SDK is designed to create a mini light server, just like IIS, where we can GET, POST, PUT HTTP Interface. I know it is designed for use with C++. But my aim is to send...
View ArticleNew Post: Using XMLHttpRequest
Hi maverick786us, Ah OK I misunderstood. Yes you can create an HTTP server using our http_listener. As far as javascript code I don't have any examples I can share, but I'm sure you can find some...
View ArticleNew Post: Using XMLHttpRequest
stevetgates wrote: Hi maverick786us, Ah OK I misunderstood. Yes you can create an HTTP server using our http_listener. As far as javascript code I don't have any examples I can share, but I'm sure you...
View ArticleCommented Issue: JSON serializer generates invalid JSON in non-C locales [118]
Using Casablanca 2.0, compile and run the following program:```#include <assert.h>#include <locale.h>#include <cpprest/json.h>int main(){ setlocale(LC_ALL, "fr-FR"); auto x =...
View ArticleClosed Issue: JSON serializer generates invalid JSON in non-C locales [118]
Using Casablanca 2.0, compile and run the following program:```#include <assert.h>#include <locale.h>#include <cpprest/json.h>int main(){ setlocale(LC_ALL, "fr-FR"); auto x =...
View ArticleUpdated Release: C++ Rest SDK 2.3.0
http_clientImplemented server certificate verification on Android, issue 242.websocket_clientPoco is no longer used as test server for WinRT tests, Websocketpp is used in all cases 221.HTTP headers for...
View ArticleEdited Feature: wss support on desktop/x-plat [222]
wss is only enabled and working on Windows Store right now.
View ArticleEdited Issue: http_client - set_nativehandle_options leaks memory if...
The test case set_user_options_exceptions shows leaks under the WinRT version when run under the visual leak detector.This is low impact as most users don't use the feature and they would have to throw...
View ArticleEdited Feature: http_listener - improve perf when listener is responding to...
Testcase: client sends GET request to the listener, listener responds to the request with data.Measure the round trip time, time taken to send the request, and receiving success status code and all teh...
View ArticleEdited Feature: http_listener - improve perf when listener is receiving...
Testcase: client sends PUT request to the listener, each request has a data payload.Measure the round trip time, time taken to send the request, read the data at the listener end and receiving success...
View ArticleClosed Issue: json - Convert all numeric JSON parsing to use CRT functions...
Suggested by Artur.Convert all number parsing to use CRT functions. This will likely lead to medium to high performance improvements for double parsing, as we can avoid uint parsing/deparsing that we...
View ArticleEdited Feature: No iOS test application [105]
We do not distribute a test app/project for iOS that allows users to run the iOS tests locally.
View ArticleEdited Feature: http_client - support timeout options at the individual...
One of our internal customers requested interest in being able to set timeouts at the individual request level. Right now we only support options for configuration at the http_client level affecting...
View ArticleNew Post: Is Casablanca supported on windows server 2008?
Hi Adrian, In the future I'd recommend creating a new discussion thread as it makes it easier to track and for others to search and understand based on the title. This is a timing issue, basically it...
View ArticleNew Post: json::value v[L"responseData"] - error (there is no operator "[]")
I never before use C++ REST and json and found an example of use in this blog - [http://mariusbancila.ro/blog/2013/08/02/cpp-rest-sdk-in-visual-studio-2013 /] (C++ REST SDK in Visual Studio 2013) there...
View ArticleNew Post: how to combine the url with c++ rest sdk?
Hey ylongwu, One small thing I notice with your program is that your accounturl looks like "login/test1/123456/1/test/" -- note the trailing slash. However, this might not be the problem. Where do you...
View ArticleNew Post: New to Casablanck SDKs
Hi maverick, First off, here's some information on Access-Control-Allow-Headers:http://www.w3.org/TR/cors/#access-control-allow-headers-response-headerhttp://www.w3.org/TR/cors/#preflight-request CORS...
View ArticleCreated Unassigned: v2.2 NuGet package's v120_xp toolset support broken [262]
I'm using VS2013 under 64-bit Windows 7. I installed the current v2.2 CPPREST NuGet package into a new project that uses the v120_xp platform toolset, and the debug .EXE file built from the project...
View ArticleNew Post: how to combine the url with c++ rest sdk?
sorry, I have lost the builder part, here is the total program:void main() { auto fileStream = std::make_shared<ostream>(); pplx::task<void> requestTask =...
View ArticleCreated Issue: json - non_default_locale fails on OS X [263]
[0mStarting test case parsing_tests:non_default_locale...[1;31m/var/jenkins/build/arch/osx/config/Release/libtype/Shared/Release/tests/Functional/json/parsing_tests.cpp:585: error: Failure in...
View Article