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...
Hello guys. I'm using this lib for subscribing web socket and i want to set timeout for the socket connection. Cause sometimes the `receive` call back function stops receiving data...
Hello, I would like an json-array to be printed unsorted. This is the code to initialize the array ``` web::json::value array = web::json::value::array(); int i=0; for (...) { array[i][L"YYY"]=... array[i][L"XXX"]=......
I am connected to a Websocket server with `websocket_callback_client`. Sometimes I need to close the connection and reconnect, so I call `close().get()`, then `delete` the session and create a `new...
Hello guys. I'm using restcpp for subscribing and listening "pending transactions". But some times throws EOF error and my program brokes at runtime. My code sinnipet i use to subscribe...
I've been following the microsoft tutorial, how ever i'm getting a crash and I cannot figure it out. I'm using visual studio 2017 with C++11 I've codded a function GetRequest()...
The cross toolchain looks like this ![Uploading 1ED68C81-BF30-40e9-885F-AAE4695F129F.png…]() arm-linux-gnueabihf-gcc --version arm-linux-gnueabihf-gcc.br_real (Buildroot 2023.02) 12.2.0 Copyright (C) 2022 Free Software Foundation, Inc. This is free software; see the source for copying...
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.
vcpkg install cpprestsdk[compression] and web::http::compression::builtin::supported() return false?
vcpkg install cpprestsdk[compression] and web::http::compression::builtin::supported() return false? how to install the version support compression?
If the http response got back before set redirect task, then segment fault will see. This patch fix it by switch the order of the two.
fixes #1770 changes in "To use from CMake: " section