本文介绍了如何在C ++中处理HTTP请求?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
Hello all
我在Linux下有一个C ++项目,该程序将通过HTTP请求接收Xml内容。我已经计划通过使用TinyXML-2库进行XML内容解析,我一直在关注如何接收HTTP请求。关于如何处理发送到我的程序的HTTP请求的任何建议?
更新:
我收到的HTTP请求是内容-type:text / xml。
Hello all
I have a C++ project under Linux, the program will receive Xml content through HTTP requests. I have already planned for XML content parsing by using the TinyXML-2 library, I'm stuck at the point on how to receive HTTP requests. Any advice on how to handle HTTP requests that are sent to my program ?
Update:
The HTTP request i'm receiving is content-type: text/xml.
推荐答案
这篇关于如何在C ++中处理HTTP请求?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!