问题描述
我有一个C ++应用程序,并寻找一个库,这将使它成为一个HTTP服务器,能够提供静态文件,以及执行非常简单的任务。唯一的限制是它必须是跨平台的。
I have a C++ app and looking for a library that would make it a HTTP Server that's able to serve static files as well as perform very simple tasks. The only constraint is that it must be Cross-platform.
我的选择是什么。
Clarify:我的应用程序需要一个web界面。此应用程序是执行其他任务的后台程序。我想提供一种方法,以便您可以访问或
Clarify: I need a web interface for my application. This application is a background program that does other tasks. I want to provide a way so you can access http://localhost:9999/performtask or http://localhost:9999/viewstatus
澄清2: a href =http://www.gnu.org/software/libmicrohttpd/ =nofollow> http://www.gnu.org/software/libmicrohttpd/
clarification2: something like this http://www.gnu.org/software/libmicrohttpd/
推荐答案
请参阅。
See this question. I ended up choosing Mongoose.
这篇关于给C ++应用程序一个HTTP Web服务器功能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!