cpprestsdk
cpprestsdk copied to clipboard
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 to and i...
The http_listener on Windows (http.sys) gives very poor throughput when tranferring large responses. Adding the HTTP_SEND_RESPONSE_FLAG_BUFFER_DATA when streaming the response can increase the throughput ten-fold.
Hello, is it possible to add a web::json function which would control how doubles in _Number are converted to string? E.g. instead of using the biggest possible precision (std::numeric_limits::digits10 +...
Or am I using cpprest in the wrong way? Our application normally transfers data (using HTTP GET) of several hundred megabytes, the default 64 Kb chunk size seems too small...
I'm trying to build for Android via CMake on MacOS for 64-bit arch (arm64-v8a and x86-64) as well as 32-bit arch (armeabi and x86). There's no direct documentation for this....
On the ios, the Release static library is about 40+MB, it's too big. Is there any way to cut the size of the static library?
Client could set http timeout, how to get this value in server side? ``` m_listener->support(methods::GET, std::bind(&RestHandler::handle_get, this, std::placeholders::_1)); ``` in the function `RestHandler::handle_get(...)`, is that possible to get the timeout...
We are using cpprestsdk to compose and send http requests to other services. We applied a retry logic to it in form of ``` for (int current_retry = 0; current_retry...
Here's the report by UBSan: ``` /opt/homebrew/include/pplx/pplxtasks.h:2125:74: runtime error: member access within address 0x00010b4145d8 which does not point to an object of type 'pplx::details::_Task_impl_base' 0x00010b4145d8: note: object is of type...
Thank you so much for this nice code. By the way, When I compile this on Linux(GCC) there are some errors accessing the protected member function. But, On Windows(VC++) it...