New Post: How to Encode/Decode String?
Hi BSalita, Specifically what kind of encoding/decoding are you talking about? For the code you mention it looks like you are trying to do something escaping quotes producing some sort of pair, perhaps...
View ArticleNew Post: How to Encode/Decode String?
Yes, a line of a JSON object in source code. My app creates JSON source code, sometimes with data originating from a C string.
View ArticleNew Post: Feedback about Blocking Issues and Work-Arounds
Hi BSalita, Blocking: For Windows the pull request is located right here. If you need it right now you take it directly from the forked repository, otherwise it probably will be in our next release...
View ArticleNew Post: How to Encode/Decode String?
Hi BSalita, No we currently do have any facility exposed for doing this. You could take you 'name' and 'hello world' string and construct a json object and then serialize to a string. Will this not...
View ArticleNew Post: How to Encode/Decode String?
Thanks. That's what I needed to know. It would be helpful if there was a method for converting a string to JSON string literal encoding. I'll just write one myself. I hope to post some of the project's...
View ArticleSource code checked in, #4a09a3fdcb32d62e64baeedc4ab2baac30fd8dee
Fixed a typo in dev12 PS script
View ArticleNew Post: Listener with SSL
Hi Steve, So do you imply that the listener as is now on Windows, does support https? Since the Windows implementation is based on http sys API, what extra things must be still done for ssl? Sorry for...
View ArticleNew Post: Listener with SSL
Hi G, I'm implying that it will in our next release. We haven't merged the commit yet into the development branch, but if you want to use it now you can take a the forked repository with the change...
View ArticleNew Post: How to Encode/Decode String?
If you look in json_serialization.cpp you can find the code for that functionality in a method called append_escape_string. Let me know if you are interested in contributing back. Thanks, Steve
View ArticleNew Post: client.request method is skipped
I want to write a little c++ program that sends a request to a server an get some data. What i got now is that code but the client.request method is skipped. The program never jumps in. Hope someone...
View ArticleNew Post: client.request method is skipped
Hi ZarakiKen, The main thread terminated before the "request" task completed, so you cannot see any console outputs. I suggest you to call the task "wait()" function after ".then"....
View ArticleNew Post: HttpCreateServerSession return INVALID_HANDLE
Hi raffaeler Sorry for the delay here. I checked with the HTTP Server API team, looks like this is the expected behavior: HttpCreateServerSession will fail when running under low integrity. I have...
View ArticleNew Post: HttpCreateServerSession return INVALID_HANDLE
Hi Kavya, since opening an http server session depends on the endpoint ACLs, I do not understand why it is not allowed. Thanks anyway for your help
View ArticleNew Post: HttpCreateServerSession return INVALID_HANDLE
Hi raffaeler, The issue I observed when running a low integrity process was that HttpInitialize fails with ERROR_ACCESS_DENIED. You're likely seeing HttpCreateServerSession fail with...
View ArticleCreated Unassigned: http_listener blocks on single core machine [106]
The http_listener class blocks on Windows if the machine has a single core (e.g. small Azure VMs)Following code for repro (and workaround)#include "stdafx.h"#include...
View ArticleEdited Unassigned: http_listener blocks on single core machine [106]
The http_listener class blocks on Windows if the machine has a single core (e.g. small Azure VMs)Following code for repro (and workaround)```#include "stdafx.h"#include...
View ArticleCommented Feature: Actors [40]
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 Feature: Actors [40]
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 ArticleNew Post: client.request method is skipped
Thank you! But now i get an exception: Expression _isCompleted() Is it necessary to call something like a "Completefunction" ?
View ArticleNew Post: error LNK2019: unresolved external symbol "__declspec(dllimport)
Hi, So im trying to build my project with casablanca having the newest version installed via nuget. Im wondering why i m getting link errors when building? i tried to add...
View Article