Quantcast
Channel: WE MOVED to github.com/microsoft/cpprestsdk. This site is not monitored!
Browsing all 4845 articles
Browse latest View live
↧

Created Issue: samples - WindowsLiveAuth is disabled from build [232]

Not sure why this isn't included in the build but the WindowsLiveAuth sample should be<!-- Disabled for now, because this project doesn't support rebuild and clean targets.<ItemGroup...

View Article


New Post: help with task cancellation

I'm using v2.1 on Windows 7/Server 2008. I need to start a number of REST tasks that can run in parallel, but the consumer of those tasks' output can only process the output of one task at a time. My...

View Article


New Post: help with task cancellation

Hi evanb, The absolute easiest way to do this will be to add a big lock + continuation to each request like// Important detail: Don't let BKL get destroyed before all the tasks finish std::mutex BKL;...

View Article

New Post: help with task cancellation

roschuma: I appreciate your reply. I'm glad the idea of brute-force serialization (using the mutex) came from someone other than me. :)> I've considered it. However, I think there is a better answer...

View Article

Reviewed: C++ REST SDK 2.1 (Aug 15, 2014)

Rated 4 Stars (out of 5) - Very useful. It would be good to have a separate download like normal (cant get nuget isnt working). Also would be useful to have version number in the header files, so one...

View Article


Commented Feature: Add cancellation support to websocket APIs (especially...

Currently, websocket APIs do not take cancellation token. Initiating a receive returns a task that completes when a message is received. If user wishes to cancel this operation, it is not possible...

View Article

New Post: http_request with custom stream

Hi Kevin, You can read or write to a file at any position by specifying an offset through and OVERLAPPED structure to APIs like ReadFile and WriteFile. This is what we do in our implementation. Another...

View Article

New Post: Http digest preemptive authentication

Hi momaison, What you are seeing is the normal authentication negotiation. The client initiates a connection, the server challenges the client for authentication and client resends the request with the...

View Article


Commented Unassigned: casablanca doesn't build under OS X [218]

In network.hpp:// For ntohs and htons#if defined(_WIN32)#include <winsock2.h>#else//#include <arpa/inet.h>#include <netinet/in.h>>> + #undef htonll>> + #undef...

View Article


Commented Issue: http_client - improve performance when handling large...

This applies to Windows desktop. Historical context in TFS 517667Comments: Significant performance gains make for our Windows desktop http_client are made when you specify a larger chunksize to use...

View Article

Edited Feature: websocket_client - provide ability to register call back...

The websocket_client class does not provide the ability to attach a call back handler for received messages. One of the benefits of web socket is that the client does not need to keep polling for...

View Article

Updated Release: C++ REST SDK 2.2.0

Please fill in bugs and features as they are added into the release notes.oAuthAdded library support for oAuth 2.0 in an experimental namespace while we fine tune the API.AndroidAdded support for the...

View Article

Updated Wiki: Running Leak Detection

Here are the instructions for running leak detection as part of each release:1. Download Visual Leak Detector: https://vld.codeplex.com/releases2. Copy the vld.lib and dlls to your binary output...

View Article


Updated Wiki: Running Leak Detection

Here are the instructions for running leak detection as part of each release:1. Download Visual Leak Detector: https://vld.codeplex.com/releases2. Build the product and tests using the msbuild property...

View Article

Closed Issue: ws_client - add to Windows Phone 8.1 [194]

The APIs we build on aren't supported for Phone 8.0, but are in 8.1 so it need to be added.

View Article


Closed Issue: How to obtain new access token or refresh token [171]

Need to handle token expiration gracefully, and expose a way to get a refreshed token

View Article

Created Unassigned: Unloading the dll crashes the process [233]

I am using the 2.1.0 with the WebSocket support only.I wrapped my code (a plugin) within a dll that talks using websocket.- load my dll and casablanca dll in memory using LoadLibrary- use the websocket...

View Article


Created Unassigned: extract_string gzip error utf-8 [234]

1)I get this http response header()(L"Cache-Control", L"no-cache")(L"Content-Encoding", L"gzip")(L"Content-Length", L"792")(L"Content-Type", L"application/json;charset=utf-8")(L"Date", L"Sat, 16 Aug...

View Article

Commented Unassigned: extract_string gzip error utf-8 [234]

1)I get this http response header()(L"Cache-Control", L"no-cache")(L"Content-Encoding", L"gzip")(L"Content-Length", L"792")(L"Content-Type", L"application/json;charset=utf-8")(L"Date", L"Sat, 16 Aug...

View Article

New Post: Develop in RAD Studio

I'd like to use Casablanca in RAD Studio, for a simple http get response. I compiled in VS 2013, and then linked the lib. There was a OMF error, and used the tool coff2omf on the cpprest120_2_1.lib and...

View Article
Browsing all 4845 articles
Browse latest View live