Closed kyle-klassy closed 3 years ago
Recommending: https://github.com/sogou/workflow
#include <stdio.h>
#include "workflow/WFHttpServer.h"
int main()
{
WFHttpServer server([](WFHttpTask *task) {
task->get_resp()->append_output_body("<html>Hello World!</html>");
});
if (server.start(8888) == 0) { // start server on port 8888
getchar(); // press "Enter" to end.
server.stop();
}
return 0;
}
@Barenboim Made in China 👎
We usually recommend libcurl or Qt's networking support library.
Is there a C++ REST library or package that Microsoft recommends for new projects now that the C++ REST SDK has been moved to maintenance mode? Is there an equivalent library for cpp that is supported?