New Post: Latest version
Good question. The simple answer is: quality of the code. While we were in incubation mode, we felt it was OK to put out code that wasn't well tested, because the aim was to get feedback, not to...
View ArticleNew Post: How to download file from SkyDrive using REST API SDK? (Windows...
Use this method on the request object: void set_request_uri(const uri& uri); In fact, it's usually easier to use the uri_builder class to create the uri, which you then convert to a uri instance,...
View ArticleNew Post: I don't find any way to get progress info for ongoing WEBDAV GET...
No, unfortunately, I can't promise that. The next release is imminent, the bits have been cut and we're just waiting for a few formalities before posting it. This change is straight-forward, though,...
View ArticleNew Post: How to catch exceptions which occur inside asynchronous methods?...
I am trying to catch exception from OnlineIdAuthenticator::AuthenticateUserAsync method, which occurs when there is no internet connection for example. I've found some info about this topic, but it...
View ArticleNew Post: How to catch exceptions which occur inside asynchronous methods?...
Hi, You can refer to "handling errors to task chain" section in below given url:http://msdn.microsoft.com/en-us/library/windows/apps/hh780559.aspx (In a task-based continuation, we call the member...
View ArticleNew Post: I don't find any way to get progress info for ongoing WEBDAV GET...
OK. Thanks for your prompt action on my request.
View ArticleNew Post: How to catch exceptions which occur inside asynchronous methods?...
Yes, you need to pass the UserIdentity to the callback as a task. Use .then([]task<UserIdentity^> idtask) { try { auto ident = idtask.get(); ... } catch ... } instead.
View ArticleNew Post: How to download file from SkyDrive using REST API SDK? (Windows...
You also can use the 'request' helper methods if you want as well. Here is one overload which takes the path, query, and fragment portions of the request uri: /// <summary> /// Asynchronously...
View ArticleNew Post: How to catch exceptions which occur inside asynchronous methods?...
Thank you, guys! Now it works.auto auth = ref new OnlineIdAuthenticator (); auto request = ref new OnlineIdServiceTicketRequest ("wl.signin wl.basic wl.skydrive_update", "DELEGATION"); auto request_vec...
View ArticleNew Post: Cancellation token in http_client request
Hi, Is it possible to cancel the pplx::task created from an http_client request? I would expect to supply a cancellation token but looks like this isn't exposed? thanks Matt
View ArticleNew Post: Cancellation token in http_client request
Right, we do not support cancellation at this time. It's on the list of things to do. Niklas
View ArticleNew Post: ignore certificate errors with HTTPS?
Is there a way to ignore https exception (security exception like untrusted self-signed certificate would throw) from the SDK? This is more for testing purpose so it doesn't block testing under test...
View ArticleNew Post: Cancellation token in http_client request
Thanks for the response Niklas, I look forwards to it.
View ArticleCreated Unassigned: memory leak in http_client (probably concurrency logic) [14]
I can't pin point the exact code but based on std::async there might be leak in the thread pool.You can see that in the following logic std::async leaks (not sure when threads will be released).void...
View ArticleEdited Unassigned: memory leak in http_client (probably concurrency logic) [14]
I can't pin point the exact code but based on std::async there might be leak in the thread pool.You can see that in the following logic std::async leaks (not sure when threads will be released).```void...
View ArticleEdited Unassigned: memory leak in http_client (probably concurrency logic) [14]
I can't pin point the exact code but based on std::async there might be leak in the thread pool.You can see that in the following logic std::async leaks (not sure when threads will be released).```void...
View ArticleUpdated Release: C++ REST SDK 1.0 (May 22, 2013)
This release stabilizes several APIs, fixes multiple customer reported issues and adds the following improvements:- One msi for each Visual Studio release.- Minor additions to stream buffers.- Added...
View ArticleReleased: C++ REST SDK 1.0.0 (May 22, 2013)
This release stabilizes several APIs, fixes multiple customer reported issues and adds the following improvements: - One msi for each Visual Studio release. - Minor additions to stream buffers. - Added...
View Article