microsoft / cpprestsdk

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 interact with services.
Other
8.02k stars 1.66k forks source link

Use websockets after cpprestsdk-2.10.19 windows arm build #1807

Open YoungGonMa opened 1 month ago

YoungGonMa commented 1 month ago

Hello developers.

After building cpprestsdk-2.10.19 arm on windows, I want to use the resources (websockets, http, pplx) below. However, there are usage restrictions in arm as follows. \THIRD-PARTY_R7\cpprestsdk-2.10.19\Release\src\http\common\http_compression.cpp(20):#if !defined(CPPREST_EXCLUDE_WEBSOCKETS) && !defined(CPPREST_EXCLUDE_COMPRESSION) \THIRD-PARTY_R7\cpprestsdk-2.10.19\Release\src\pplx\threadpool.cpp(7):#if !defined(CPPREST_EXCLUDE_WEBSOCKETS) || !defined(_WIN32) \THIRD-PARTY_R7\cpprestsdk-2.10.19\Release\src\websockets\client\ws_client.cpp(16):#if !defined(CPPREST_EXCLUDE_WEBSOCKETS) \THIRD-PARTY_R7\cpprestsdk-2.10.19\Release\src\websock ets\client\ws_client_wspp.cpp(18):#if !defined(CPPREST_EXCLUDE_WEBSOCKETS) \THIRD-PARTY_R7\cpprestsdk-2.10.19\Release\src\websockets\client\ws_msg.cpp(23):#if !defined(CPPREST_EXCLUDE_WEBSOCKETS)

Are there any other solutions other than implementing resource(websockets, http, pplx) directly??

That's all. Thank you.


cpprestsdk-2.10.19 windows arm build 후 websockets 사용

windows에서 cpprestsdk-2.10.19 arm build 후 아래 resource(websockets, http, pplx)를 사용 하고자 합니다. 하지만 arm 에서는 아래와 같이 사용 제한이 되어 있습니다. \THIRD-PARTY_R7\cpprestsdk-2.10.19\Release\src\http\common\http_compression.cpp(20):#if !defined(CPPREST_EXCLUDE_WEBSOCKETS) && !defined(CPPREST_EXCLUDE_COMPRESSION) \THIRD-PARTY_R7\cpprestsdk-2.10.19\Release\src\pplx\threadpool.cpp(7):#if !defined(CPPREST_EXCLUDE_WEBSOCKETS) || !defined(_WIN32) \THIRD-PARTY_R7\cpprestsdk-2.10.19\Release\src\websockets\client\ws_client.cpp(16):#if !defined(CPPREST_EXCLUDE_WEBSOCKETS) \THIRD-PARTY_R7\cpprestsdk-2.10.19\Release\src\websockets\client\ws_client_wspp.cpp(18):#if !defined(CPPREST_EXCLUDE_WEBSOCKETS) \THIRD-PARTY_R7\cpprestsdk-2.10.19\Release\src\websockets\client\ws_msg.cpp(23):#if !defined(CPPREST_EXCLUDE_WEBSOCKETS)

resource(websockets, http, pplx) 직접 구현이 아닌, 다른 해결 방법이 있을까요??

이상입니다. 감사합니다.