New Post: Templated json::value?
Hi Boris, Yes potentially something like that could be done. It would have to be a bit more complex as the utility::string_t type is different depending on the platform. The json::value type needs to...
View ArticleCreated Unassigned: defect in lazy initialization of static in...
The instance object in the code below races on construction during multi-threaded use of the API when generating errors. The generated code on Windows/VS2013 is not thread safe. The actual error is...
View ArticleCommented Unassigned: defect in lazy initialization of static in...
The instance object in the code below races on construction during multi-threaded use of the API when generating errors. The generated code on Windows/VS2013 is not thread safe. The actual error is...
View ArticleCommented Issue: http_listener - read_to_end on request body into file stream...
Reported from the following discussion:http://casablanca.codeplex.com/discussions/573976#post1328648I am able to reproduce on Ubuntu 64bit debug as well, see my forked repository in branch...
View ArticleNew Post: Regarding Security on http_listener
I want to provide log in / password based security on webserver which is implemented using Casablanca REST KIT. Can you Please suggest me how to do that?..It is very urgent Currently I am using...
View ArticleNew Post: Regarding Security on http_listener
Hi Ram, Our http_listener doesn't have any support for authentication. You will have to perform some sort of authentication yourself. Steve
View ArticleCommented Issue: http_listener - read_to_end on request body into file stream...
Reported from the following discussion:http://casablanca.codeplex.com/discussions/573976#post1328648I am able to reproduce on Ubuntu 64bit debug as well, see my forked repository in branch...
View ArticleNew Post: Visual Studio 2015 RC: Missing ssl.hpp
I'm trying to build v2.6 using Visual Studio 2015RC. I get 3 same errors because boost/asio/ssl.hpp isn't found. Shouldn't build work out of the box after Nuget does its restore? What am I missing?...
View ArticleNew Post: Visual Studio 2015 RC: Missing ssl.hpp
Hi BSalita,Did you make sure to do the package restore in or try building in Visual Studio to trigger the package restore? Can you look and see if the Boost packages are in the ‘packages’ folder under...
View ArticleNew Post: When http_listener is https://localhost:someport throws exception...
Hi NeroV, It sounds like the http_client is unable to reach your http_listener, unfortunately the error message isn't great from the OS. I'd recommend trying to use something like Fiddler to see if you...
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,here, and here) fixing several issues with arm64....
View ArticleNew Post: Regarding Security on http_listener
Thanks for your message Steve. Please guide me how to do that? Any ideas or any Links to start? -Ram
View ArticleNew Post: Visual Studio 2015 RC: Missing ssl.hpp
Yes, the files were automatically restored by Nuget. Nuget prompted to download the missing packages. The missing ssl.hpp file is in...
View ArticleNew Post: Should I use L or U() when handling strings with JSON?
json::value json; json[L"id"] = 42; json[U("id")] = 42; Which of these should I use for cross platform compatability? And what's the difference, really?
View ArticleNew Post: extract_json performance
Hi Steve, Some more observation: I defined a 'progress_handler' to see what's happening in the background. Just logged the size in the callback. The pattern is as below: resthtttpclient.cpp; 89; Dir :...
View ArticleNew Post: Visual Studio 2015 RC: Missing ssl.hpp
Hi BSalita, To build the library from source you need to make sure you have downloaded/restored the build time NuGet package dependencies. This is automatically done for you the first time you build if...
View ArticleNew Post: Regarding Security on http_listener
Hi Ram, I don't have any code examples or anything. Basically you will need to find a way to have your clients/servers identify each other. Another option is perhaps to implement one the authentication...
View ArticleNew Post: Error: Failed to initialize the PowerShell host
Hi BSalita, Our NuGet package contains an init.ps1 script for installing our debugger visualizer for types in the library. You should try following the instructions mentioned in the error message. Also...
View ArticleNew Post: How should I handle websocket_client reconnects?
Here's a simple example of what I'm trying to do:http://pastebin.com/7NfSwFwE Basically reconnect if the connect fails. This triggers a debug assertion: m_state == CREATED I'm guessing I'm not allowed...
View ArticleNew Post: Should I use L or U() when handling strings with JSON?
Hi DesktopMan, In the C++ REST SDK we choose to use a different string type depending on the platform being targeted, example on Windows UTF-16. Some of our APIs support both UTF-8 and UTF-16, but the...
View Article