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

New Post: Thread safety of tasks?

Consider the following pattern: We have a timer that fires every N seconds. The purpose of this timer is to execute a task (A) that generates new task (B). B's purpose is to calculate some new data,...

View Article


New Post: Mock/Stub Classes For Unit Testing?

Hi capaci, For testing our http_client and http_listener we have some test utilities and test client and server. I'd recommend you take a look at them, and depending on your scenario they might work...

View Article


New Post: Thread safety of tasks?

Hi Essentia, In general any tasks that are allowed to execute in parallel you should expect that they could. Looking at the example you are explaining I'm having trouble understanding how it could...

View Article

New Post: Thread safety of tasks?

So let me try to ask in other words, then. Assume that there is a server to which we can send API requests. Of course, the server requires authentication first, and after authentication, it returns a...

View Article

Commented Unassigned: Casablanca hangs my app when unloaded [309]

Hi, Am trying to use Casablanca as a dll in another third party exe on Windows 7. Everything works fine, except when closing the socket and unloading the dll. My close function is as follows```void...

View Article


New Post: Windows 8 Error in WinHttpSendRequest

I got "Error in WinHttpSendRequest" in Windows 8 while making https get call. the same code runs fine in Windows 7. After checking wireshark log, I found cassablanca missing TLS_RSA_WITH_RC4_128_SHA in...

View Article

Updated Wiki: Home

Welcome! The C++ REST SDK is a Microsoft project for cloud-based client-server communication in native code using a modern asynchronous C++ API design. This project aims to help C++ developers connect...

View Article

Updated Wiki: How to setup, build, and run tests on Windows

How to setup, build, and run tests on WindowsSetup Git If you use PowerShell, we recommend installing Posh-Git (here is how). If you use cmd.exe, open the Developer Command Prompt for VS2013 (here is...

View Article


Updated Wiki: How to setup, build, and run tests on Windows

How to setup, build, and run tests on WindowsSetup Git If you use PowerShell, we recommend installing Posh-Git (here is how). If you use cmd.exe, open the Developer Command Prompt for VS2013 (here is...

View Article


Updated Wiki: Web Socket

WebSocket Client (2.0+ only) The WebSocket client class is used to create and maintain a connection to a WebSocket endpoint. web::websockets::client::websocket_client client();Once you have your...

View Article

Updated Wiki: Web Socket

WebSocket Client Everything for using websockets is located in the ws_client.h header file and the web and web::websockets::client namespaces. #include <cpprest/ws_client.h> usingnamespace web;...

View Article

Updated Release: C++ Rest SDK 2.3.0

http_clientImplemented server certificate verification on Android. #242Added usage of Boost ssl::context::default_workarounds for compatibility with somewhat broken servers.Fixed issue with server...

View Article

Updated Release: C++ Rest SDK 2.3.0

http_clientImplemented server certificate verification on Android. #242Added usage of Boost ssl::context::default_workarounds for compatibility with somewhat broken servers.Fixed issue with server...

View Article


Updated Release: C++ Rest SDK 2.3.0

http_clientImplemented server certificate verification on Android. #242Added usage of Boost ssl::context::default_workarounds for compatibility with somewhat broken servers.Fixed issue with server...

View Article

Updated Release: C++ Rest SDK 2.3.0

http_clientImplemented server certificate verification on Android. #242Added usage of Boost ssl::context::default_workarounds for compatibility with somewhat broken servers.Fixed issue with server...

View Article


New Post: Thread safety of tasks?

Hi Essentia, Thanks for the great detail in your response! It certainly helps me understand a lot more about what is going on. Ok to summarize, many different threads could be running concurrently and...

View Article

New Post: Windows 8 Error in WinHttpSendRequest

Hi Zhong, Can you please provide a little more detail. Can you catch the http_exception being thrown and then examine what the std::error_code value and message are? What exactly do you mean when you...

View Article


New Post: Thread safety of tasks?

Well, it's a step in the right direction, I guess, but it still violates two of my requirements. First off, what if RefreshTask throws an exception or is cancelled? The flag would never be set leading...

View Article

New Post: Building the sdk on windows 8.1 using VS2013 express

I'm trying to build the sdk but to no avail. My goal is to build a static version of the library, following the instructions here:How to statically link the C++ REST SDK, but I haven't even got to the...

View Article

New Post: Windows 8 Error in WinHttpSendRequest

Hi Steve I get error code 12175, error in WinHttpSendRequest. TLS_RSA_WITH_RC4_128_SHA is from Wireshark log. we found the difference between win7 and win8 log was missing this cipher in win8. -Zhong

View Article
Browsing all 4845 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>