You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How can I access the API of a third-party server, for example, to use the SMS sending service to the client? Need to use drogon::WebSocketClient or something else from drogon? With such an entry as in the code, the debugging text is output to the terminal:
20230708 08:36:57.087709 UTC 3400 INFO Connecting to WebSocket at wss://echo.websocket.org - main.cc:54
20230708 08:37:12.093900 UTC 3400 INFO by! - main.cc:81 That is, the request is not processed
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
How can I access the API of a third-party server, for example, to use the SMS sending service to the client? Need to use drogon::WebSocketClient or something else from drogon? With such an entry as in the code, the debugging text is output to the terminal:
20230708 08:36:57.087709 UTC 3400 INFO Connecting to WebSocket at wss://echo.websocket.org - main.cc:54
20230708 08:37:12.093900 UTC 3400 INFO by! - main.cc:81 That is, the request is not processed
`std::string server("wss://echo.websocket.org");
std::string path = "/";
std::optional<uint16_t> port;
Beta Was this translation helpful? Give feedback.
All reactions